@@ -387,7 +387,7 @@ def test_no_config_no_retry(self, real_client: _SyncTestClient) -> None:
387387 wrapper = _TransientFailureClient (real_client , failure_status = 502 , failures = 0 )
388388 resp = _post_with_retry (
389389 wrapper , # type: ignore[arg-type]
390- "/vgi/ add" ,
390+ "/add" ,
391391 content = b"" ,
392392 headers = {"Content-Type" : "application/octet-stream" },
393393 config = None ,
@@ -399,7 +399,7 @@ def test_retries_on_502(self, real_client: _SyncTestClient) -> None:
399399 wrapper = _TransientFailureClient (real_client , failure_status = 502 , failures = 2 )
400400 resp = _post_with_retry (
401401 wrapper , # type: ignore[arg-type]
402- "/vgi/ add" ,
402+ "/add" ,
403403 content = _make_add_request (),
404404 headers = {"Content-Type" : "application/vnd.apache.arrow.stream" },
405405 config = HttpRetryConfig (max_retries = 3 , backoff_base = 0.001 ),
@@ -414,7 +414,7 @@ def test_exhausted_raises_transient_error(self, real_client: _SyncTestClient) ->
414414 with pytest .raises (HttpTransientError ) as exc_info :
415415 _post_with_retry (
416416 wrapper , # type: ignore[arg-type]
417- "/vgi/ add" ,
417+ "/add" ,
418418 content = b"data" ,
419419 headers = {"Content-Type" : "application/octet-stream" },
420420 config = HttpRetryConfig (max_retries = 2 , backoff_base = 0.001 ),
@@ -428,7 +428,7 @@ def test_no_retry_on_non_transient(self, real_client: _SyncTestClient) -> None:
428428 wrapper = _TransientFailureClient (real_client , failure_status = 400 , failures = 5 )
429429 resp = _post_with_retry (
430430 wrapper , # type: ignore[arg-type]
431- "/vgi/ add" ,
431+ "/add" ,
432432 content = b"data" ,
433433 headers = {"Content-Type" : "application/octet-stream" },
434434 config = HttpRetryConfig (max_retries = 3 , backoff_base = 0.001 ),
@@ -443,7 +443,7 @@ def test_max_retries_zero(self, real_client: _SyncTestClient) -> None:
443443 with pytest .raises (HttpTransientError ) as exc_info :
444444 _post_with_retry (
445445 wrapper , # type: ignore[arg-type]
446- "/vgi/ add" ,
446+ "/add" ,
447447 content = b"data" ,
448448 headers = {"Content-Type" : "application/octet-stream" },
449449 config = HttpRetryConfig (max_retries = 0 ),
@@ -458,7 +458,7 @@ def test_retry_after_preserved_in_error(self, real_client: _SyncTestClient) -> N
458458 with pytest .raises (HttpTransientError ) as exc_info :
459459 _post_with_retry (
460460 wrapper , # type: ignore[arg-type]
461- "/vgi/ add" ,
461+ "/add" ,
462462 content = b"data" ,
463463 headers = {"Content-Type" : "application/octet-stream" },
464464 config = HttpRetryConfig (max_retries = 1 , backoff_base = 0.001 ),
@@ -473,7 +473,7 @@ def test_custom_retryable_codes(self, real_client: _SyncTestClient) -> None:
473473 # 500 is not in default retryable set — should NOT retry
474474 resp = _post_with_retry (
475475 wrapper , # type: ignore[arg-type]
476- "/vgi/ add" ,
476+ "/add" ,
477477 content = b"data" ,
478478 headers = {"Content-Type" : "application/octet-stream" },
479479 config = HttpRetryConfig (max_retries = 3 , backoff_base = 0.001 ),
@@ -487,7 +487,7 @@ def test_custom_retryable_codes(self, real_client: _SyncTestClient) -> None:
487487 with pytest .raises (HttpTransientError ):
488488 _post_with_retry (
489489 wrapper2 , # type: ignore[arg-type]
490- "/vgi/ add" ,
490+ "/add" ,
491491 content = b"data" ,
492492 headers = {"Content-Type" : "application/octet-stream" },
493493 config = HttpRetryConfig (max_retries = 2 , retryable_status_codes = frozenset ({500 }), backoff_base = 0.001 ),
@@ -501,7 +501,7 @@ def test_each_retryable_code(self, real_client: _SyncTestClient) -> None:
501501 wrapper = _TransientFailureClient (real_client , failure_status = code , failures = 1 )
502502 resp = _post_with_retry (
503503 wrapper , # type: ignore[arg-type]
504- "/vgi/ add" ,
504+ "/add" ,
505505 content = _make_add_request (),
506506 headers = {"Content-Type" : "application/vnd.apache.arrow.stream" },
507507 config = HttpRetryConfig (max_retries = 3 , backoff_base = 0.001 ),
@@ -517,7 +517,7 @@ def test_backoff_delay_called(self, real_client: _SyncTestClient) -> None:
517517 with pytest .raises (HttpTransientError ):
518518 _post_with_retry (
519519 wrapper , # type: ignore[arg-type]
520- "/vgi/ add" ,
520+ "/add" ,
521521 content = b"data" ,
522522 headers = {"Content-Type" : "application/octet-stream" },
523523 config = HttpRetryConfig (max_retries = 2 , backoff_base = 1.0 , backoff_max = 100.0 ),
@@ -535,7 +535,7 @@ def test_connect_error_retried_and_succeeds(self, real_client: _SyncTestClient)
535535 wrapper = _ConnectionErrorClient (real_client , failures = 2 )
536536 resp = _post_with_retry (
537537 wrapper , # type: ignore[arg-type]
538- "/vgi/ add" ,
538+ "/add" ,
539539 content = _make_add_request (),
540540 headers = {"Content-Type" : "application/vnd.apache.arrow.stream" },
541541 config = HttpRetryConfig (max_retries = 3 , backoff_base = 0.001 ),
@@ -550,7 +550,7 @@ def test_connect_error_exhausted_raises(self, real_client: _SyncTestClient) -> N
550550 with pytest .raises (httpx .ConnectError ):
551551 _post_with_retry (
552552 wrapper , # type: ignore[arg-type]
553- "/vgi/ add" ,
553+ "/add" ,
554554 content = b"data" ,
555555 headers = {"Content-Type" : "application/octet-stream" },
556556 config = HttpRetryConfig (max_retries = 2 , backoff_base = 0.001 ),
@@ -564,7 +564,7 @@ def test_connect_error_no_retry_when_disabled(self, real_client: _SyncTestClient
564564 with pytest .raises (httpx .ConnectError ):
565565 _post_with_retry (
566566 wrapper , # type: ignore[arg-type]
567- "/vgi/ add" ,
567+ "/add" ,
568568 content = b"data" ,
569569 headers = {"Content-Type" : "application/octet-stream" },
570570 config = HttpRetryConfig (max_retries = 3 , retry_on_connection_error = False , backoff_base = 0.001 ),
@@ -577,7 +577,7 @@ def test_timeout_error_retried_and_succeeds(self, real_client: _SyncTestClient)
577577 wrapper = _TimeoutErrorClient (real_client , failures = 1 )
578578 resp = _post_with_retry (
579579 wrapper , # type: ignore[arg-type]
580- "/vgi/ add" ,
580+ "/add" ,
581581 content = _make_add_request (),
582582 headers = {"Content-Type" : "application/vnd.apache.arrow.stream" },
583583 config = HttpRetryConfig (max_retries = 3 , backoff_base = 0.001 ),
@@ -592,7 +592,7 @@ def test_timeout_no_retry_when_disabled(self, real_client: _SyncTestClient) -> N
592592 with pytest .raises (httpx .ReadTimeout ):
593593 _post_with_retry (
594594 wrapper , # type: ignore[arg-type]
595- "/vgi/ add" ,
595+ "/add" ,
596596 content = b"data" ,
597597 headers = {"Content-Type" : "application/octet-stream" },
598598 config = HttpRetryConfig (max_retries = 3 , retry_on_connection_error = False , backoff_base = 0.001 ),
@@ -609,7 +609,7 @@ def test_retries_on_503(self, real_client: _SyncTestClient) -> None:
609609 wrapper = _TransientFailureClient (real_client , failure_status = 503 , failures = 1 )
610610 resp = _options_with_retry (
611611 wrapper , # type: ignore[arg-type]
612- "/vgi/ __capabilities__" ,
612+ "/__capabilities__" ,
613613 config = HttpRetryConfig (max_retries = 3 , backoff_base = 0.001 ),
614614 _sleep = lambda _ : None ,
615615 )
@@ -622,7 +622,7 @@ def test_exhausted_raises(self, real_client: _SyncTestClient) -> None:
622622 with pytest .raises (HttpTransientError ) as exc_info :
623623 _options_with_retry (
624624 wrapper , # type: ignore[arg-type]
625- "/vgi/ __capabilities__" ,
625+ "/__capabilities__" ,
626626 config = HttpRetryConfig (max_retries = 1 , backoff_base = 0.001 ),
627627 _sleep = lambda _ : None ,
628628 )
0 commit comments