Skip to content

Commit fe6f3c6

Browse files
committed
fix tests
1 parent adaf31c commit fe6f3c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/tests/server/test_runner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def runner():
4343
await runner.setup()
4444
yield runner
4545
finally:
46-
runner.shutdown()
46+
await runner.shutdown()
4747

4848

4949
@pytest_asyncio.fixture
@@ -60,7 +60,7 @@ async def async_runner():
6060
print("did setup")
6161
yield runner
6262
finally:
63-
runner.shutdown()
63+
await runner.shutdown()
6464

6565

6666
@pytest.mark.asyncio
@@ -76,7 +76,7 @@ async def test_prediction_runner_setup():
7676
assert isinstance(result.started_at, datetime)
7777
assert isinstance(result.completed_at, datetime)
7878
finally:
79-
runner.shutdown()
79+
await runner.shutdown()
8080

8181

8282
@pytest.mark.asyncio

0 commit comments

Comments
 (0)