Skip to content

Commit c15aafb

Browse files
committed
Adapt test
1 parent b87a944 commit c15aafb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graphdatascience/tests/unit/test_aura_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,11 +614,11 @@ def test_dont_wait_forever_for_session(requests_mock: Mocker, caplog: LogCapture
614614

615615
with caplog.at_level(logging.DEBUG):
616616
assert (
617-
"Session `id0` is not running after 0.7 seconds"
618-
in api.wait_for_session_running("id0", max_wait_time=0.7).error
617+
"Session `id0` is not running after 0.2 seconds"
618+
in api.wait_for_session_running("id0", sleep_time=0.05, max_wait_time=0.2).error
619619
)
620620

621-
assert "Session `id0` is not yet running. Current status: Creating Host: foo.bar. Retrying in 0.2" in caplog.text
621+
assert "Session `id0` is not yet running. Current status: Creating Host: foo.bar. Retrying in 0.1" in caplog.text
622622

623623

624624
def test_wait_for_session_running(requests_mock: Mocker) -> None:

0 commit comments

Comments
 (0)