Skip to content

Commit d33af7e

Browse files
committed
test: metacov needs more time for signals?
1 parent 43bf46b commit d33af7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_process.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,11 @@ def test_os_exit(self, patch: bool) -> None:
462462
@pytest.mark.parametrize("send", [False, True])
463463
def test_save_signal(self, send: bool) -> None:
464464
# PyPy on Ubuntu seems to need more time for things to happen.
465-
base_time = 0.75 if (env.PYPY and env.LINUX) else 0.0
465+
base_time = 0.0
466+
if env.PYPY and env.LINUX:
467+
base_time += 0.75
468+
if env.METACOV:
469+
base_time += 1.0
466470
self.make_file("loop.py", """\
467471
import time
468472
print("Starting", flush=True)

0 commit comments

Comments
 (0)