File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,8 +257,6 @@ def test_resume_experiment():
257257@pytest .mark .cloud ()
258258def test_resume_old_experiment ():
259259 """Resume an experiment that has many newer experiments in the same teamspace."""
260- from litlogger .api .metrics_api import MetricsApi
261-
262260 target_name = f"standalone_resume_old-{ uuid .uuid4 ().hex } "
263261 filler_prefix = f"standalone_resume_old_filler-{ uuid .uuid4 ().hex } "
264262
@@ -269,10 +267,8 @@ def test_resume_old_experiment():
269267 project_id = exp1 ._teamspace .id
270268 target_stream_id = exp1 ._metrics_store .id
271269
272- # Use an unlimited-retry client so that 429s under parallel test load are
273- # absorbed by the client's exponential backoff instead of failing the test.
274270 client = LitRestClient (max_retries = - 1 )
275- api = MetricsApi ( client = client )
271+ api = exp1 . _metrics_api
276272
277273 filler_ids : list [str ] = []
278274 try :
You can’t perform that action at this time.
0 commit comments