aports/testing/mitmproxy/skip-test-optmanager-x86.patch
Kevin Daudt b0c6b07ad3 testing/mitmproxy: properly disable flaky test on x86
fd0b64ad13 (testing/mitmproxy: disable flaky test on x86, 2021-12-19)
used i386, but it should be i686.
2021-12-20 05:42:26 +00:00

14 lines
390 B
Diff

diff --git a/test/mitmproxy/test_optmanager.py b/test/mitmproxy/test_optmanager.py
index d0f0567..e24e378 100644
--- a/test/mitmproxy/test_optmanager.py
+++ b/test/mitmproxy/test_optmanager.py
@@ -186,6 +186,8 @@ def test_subscribe():
assert t.called
+import platform
+@pytest.mark.skipif(platform.machine() == "i686", reason="Test is flaky")
def test_rollback():
o = TO()