Skip to content

Commit

Permalink
Fix flaky test_send_remote_failover_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Colton Myers committed Sep 13, 2022
1 parent 9812cc9 commit 62d8e10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/client/client_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ def test_send_remote_failover_sync(should_try, sending_elasticapm_client, caplog
sending_elasticapm_client.httpserver.code = 202
sending_elasticapm_client.capture_message("bar", handled=False)
sending_elasticapm_client.close()
time.sleep(0.2)
assert not sending_elasticapm_client._transport.state.did_fail()


Expand Down

0 comments on commit 62d8e10

Please sign in to comment.