Skip to content

Commit 295a5d6

Browse files
committed
fix: flaky tests
1 parent b56d872 commit 295a5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_TasksApi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def test_run_logs(self):
369369
runs = self.tasks_api.get_runs(task_id=task.id)
370370
self.assertGreater(len(runs), 0)
371371

372-
logs = self.tasks_api.get_run_logs(run_id=runs[0].id, task_id=task.id)
372+
logs = self.tasks_api.get_run_logs(run_id=runs[-1].id, task_id=task.id)
373373
self.assertGreater(len(logs), 0)
374374

375375
successes = list(filter(lambda log: log.message.endswith("Completed(success)"), logs))

0 commit comments

Comments
 (0)