From c34daf5c3e8bd4059d44b23c63ee8cb79105bad6 Mon Sep 17 00:00:00 2001 From: "Gabriele N. Tornetta" Date: Sun, 20 Aug 2023 17:07:43 +0100 Subject: [PATCH] tests: mark GC tests as flaky --- test/test_gc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_gc.py b/test/test_gc.py index f085c439..afecedfc 100644 --- a/test/test_gc.py +++ b/test/test_gc.py @@ -30,11 +30,13 @@ from test.utils import samples from test.utils import target +from flaky import flaky import pytest @allpythons(min=(3, 7)) @mojo +@flaky def test_gc_off(py, mojo): result = austin("-i", "1ms", *python(py), target("target_gc.py"), mojo=mojo) assert result.returncode == 0 @@ -48,6 +50,7 @@ def test_gc_off(py, mojo): ) @allpythons(min=(3, 7)) @mojo +@flaky def test_gc_on(py, mojo): result = austin("-gi", "1ms", *python(py), target("target_gc.py"), mojo=mojo) assert result.returncode == 0 @@ -61,6 +64,7 @@ def test_gc_on(py, mojo): @allpythons(min=(3, 7)) @mojo +@flaky def test_gc_disabled(py, monkeypatch, mojo): monkeypatch.setenv("GC_DISABLED", "1")