From 1b5c4a4565bf3286db67884cbfe6c5ea6b510871e1a7929e2a509af9ed404db1 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 7 Aug 2025 09:33:46 +0000 Subject: [PATCH] - Increase timeout in in test_keyboardinterrupt_during_test, it helps with flaky tests in i586 arches. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anyio?expand=0&rev=54 --- python-anyio.changes | 6 ++++++ python-anyio.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/python-anyio.changes b/python-anyio.changes index 8428600..8183b0a 100644 --- a/python-anyio.changes +++ b/python-anyio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 7 09:33:03 UTC 2025 - Daniel Garcia + +- Increase timeout in in test_keyboardinterrupt_during_test, it helps + with flaky tests in i586 arches. + ------------------------------------------------------------------- Mon Jul 21 05:03:47 UTC 2025 - Steve Kowalik diff --git a/python-anyio.spec b/python-anyio.spec index a293b2f..362aa98 100644 --- a/python-anyio.spec +++ b/python-anyio.spec @@ -84,6 +84,9 @@ against it to run unmodified on asyncio, curio and trio. %if %{with test} %check +# increase timeout in test_keyboardinterrupt_during_test +sed -i 's/timeout=3/timeout=8/' tests/test_pytest_plugin.py + sed -i '/filterwarnings/,/^]/ { /"error"/ d}' pyproject.toml # bind and resolution failures inside OBS donttest+=" or (TestTCPStream and (ipv4 or ipv6))"