From 991379bdb3369917c8ea90ba1f138922c6354142 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 27 Feb 2023 17:31:45 +0800 Subject: [PATCH] raft: broadcast_tables: remove unused asyncio mark test_broadcast_kv_store does not use await or yield at all, so there is no need to mark it with "asyncio" mark. tested using ``` SCYLLA_HOME=$HOME/scylla build/cmake/scylla --overprovisioned --developer-mode=yes --consistent-cluster-management=true --experimental-features=broadcast-tables ... pytest broadcast_tables/test_broadcast_tables.py ``` the test still passes. Signed-off-by: Kefu Chai Closes #13006 --- test/broadcast_tables/test_broadcast_tables.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/broadcast_tables/test_broadcast_tables.py b/test/broadcast_tables/test_broadcast_tables.py index 3713150e13..729013b2f8 100644 --- a/test/broadcast_tables/test_broadcast_tables.py +++ b/test/broadcast_tables/test_broadcast_tables.py @@ -58,8 +58,7 @@ class ConditionType(enum.Enum): EXISTING_KEY_FAIL = enum.auto() NEW_KEY = enum.auto() -@pytest.mark.asyncio -async def test_broadcast_kv_store(cql) -> None: +def test_broadcast_kv_store(cql) -> None: seed = random.randint(0, 2 ** 64) print(f"Seed: {seed}") random.seed(seed)