Skip to content

Commit

Permalink
Merge pull request #975 from consideRatio/pr/fix-tests
Browse files Browse the repository at this point in the history
tests: fix to catch test failure earlier when they really happen
  • Loading branch information
consideRatio authored Apr 4, 2024
2 parents 7e39e99 + 8fd41cc commit 2b29bd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/test_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ async def test_user_code_execute():

async with User(username, HUB_URL, partial(login_dummy, password="")) as u:
assert await u.login()
await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5)
await u.start_kernel()
await u.assert_code_output("5 * 4", "20", 5, 5)
assert await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5)
assert await u.start_kernel()
assert await u.assert_code_output("5 * 4", "20", 5, 5)


async def test_user_server_started_with_custom_base_url():
Expand Down

0 comments on commit 2b29bd9

Please sign in to comment.