From: Daniele Varrazzo Date: Mon, 6 Feb 2023 21:29:32 +0000 (+0000) Subject: tests: mark as flaky tests seen failing randomly on release X-Git-Tag: pool-3.1.7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4f1a770371068408612746d29d0aa5236af9b79;p=thirdparty%2Fpsycopg.git tests: mark as flaky tests seen failing randomly on release --- diff --git a/tests/test_pipeline.py b/tests/test_pipeline.py index 3ef4014fd..9d5301d7f 100644 --- a/tests/test_pipeline.py +++ b/tests/test_pipeline.py @@ -211,6 +211,7 @@ def test_sync_syncs_results(conn): assert cur.statusmessage == "SELECT 1" +@pytest.mark.flakey("assert rarely fails randomly in CI blocking release") def test_sync_syncs_errors(conn): conn.autocommit = True with conn.pipeline() as p: diff --git a/tests/test_pipeline_async.py b/tests/test_pipeline_async.py index bdaf5a5eb..3fcf29393 100644 --- a/tests/test_pipeline_async.py +++ b/tests/test_pipeline_async.py @@ -211,6 +211,7 @@ async def test_sync_syncs_results(aconn): assert cur.statusmessage == "SELECT 1" +@pytest.mark.flakey("assert rarely fails randomly in CI blocking release") async def test_sync_syncs_errors(aconn): await aconn.set_autocommit(True) async with aconn.pipeline() as p: