Skip to content

Commit 015cf6c

Browse files
committed
Fix flaky test
1 parent 4961a58 commit 015cf6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def make_server(
9292

9393

9494
@pytest.fixture
95-
def stub(tmp_path, interceptors):
95+
def stub(tmp_path, interceptors, monkeypatch):
9696
with make_server(tmp_path, interceptors) as stubs:
9797
yield stubs.isolate_stub
9898

@@ -538,7 +538,7 @@ def test_bridge_connection_reuse_logs(
538538
run_request(stub, request, user_logs=logs)
539539

540540
str_logs = [log.message for log in logs if log.message]
541-
assert str_logs == [
541+
assert str_logs[:4] == [
542542
"setup",
543543
"run",
544544
"run",

0 commit comments

Comments
 (0)