From 731725a624de14fc7ddc828ffe2dae89d9cc93dc Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 18 Mar 2025 11:10:00 +0200 Subject: [PATCH] test(core): also rerun in case of a packet loss [no changelog] --- setup.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 49dba35610..eaebd45d39 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,7 +36,13 @@ per-file-ignores = tests/*:ANN [tool:pytest] -addopts = -rfER --strict-markers --random-order --only-rerun='RuntimeError: Unexpected magic characters: 3f' --reruns=5 +addopts = + -rfER + --strict-markers + --random-order + --only-rerun='RuntimeError: Unexpected magic characters: 3f' + --only-rerun='Timeout: Timeout reading [A-Za-z]+ packet' + --reruns=5 testpaths = tests crypto storage python/tests xfail_strict = true junit_family = xunit2