From 4291255b0a1c1013ff1c6ede45f5d5903751d13c Mon Sep 17 00:00:00 2001 From: Benjamin Wohlwend Date: Wed, 8 Jul 2020 16:23:18 +0200 Subject: [PATCH] mark another test as flaky See https://apm-ci.elastic.co/job/apm-agent-python/job/apm-agent-python-mbp/job/master/290/testReport/junit/tests.client/client_tests/Initializing___Test___windows_3_6_none___test_send_remote_failover_sync_validating_httpserver0_sending_elasticapm_client0_/ Compared with other flakiness issues with pytest-localserver, the stack trace is different, but I suspect this is because they stack trace is masked. --- tests/client/client_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/client/client_tests.py b/tests/client/client_tests.py index 955d20cfd..267e173fd 100644 --- a/tests/client/client_tests.py +++ b/tests/client/client_tests.py @@ -232,6 +232,7 @@ def test_empty_processor_list(elasticapm_client): assert elasticapm_client.processors == [] +@pytest.mark.flaky(reruns=3) # test is flaky on Windows @pytest.mark.parametrize( "sending_elasticapm_client", [{"transport_class": "elasticapm.transport.http.Transport", "async_mode": False}],