From 36563f786445b2bdd60a87b016bea43f12e656df Mon Sep 17 00:00:00 2001 From: aya Date: Wed, 25 Dec 2024 12:14:44 +0200 Subject: [PATCH] Mark test_get_multiple_2000_store_messages to run in shard 1 --- .github/workflows/test_common.yml | 2 +- tests/store/test_cursor.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 0635b6a2..f73a6311 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -56,7 +56,7 @@ jobs: - name: Run tests run: | - pytest --dist=loadgroup -k "test_get_multiple_2000_store_messages" -n 1 --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results + pytest --dist=loadgroup --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results - name: Get allure history if: always() diff --git a/tests/store/test_cursor.py b/tests/store/test_cursor.py index ef28f9bb..e8f60a50 100644 --- a/tests/store/test_cursor.py +++ b/tests/store/test_cursor.py @@ -10,6 +10,7 @@ from src.steps.store import StepsStore class TestCursor(StepsStore): # we implicitly test the reusabilty of the cursor for multiple nodes + @pytest.mark.shard1 def test_get_multiple_2000_store_messages(self): expected_message_hash_list = [] for i in range(2000):