diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 80ca0777..41f3b7df 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -57,9 +57,9 @@ jobs: - name: Run tests run: | if [ "${{ matrix.shard }}" == 7 ]; then - pytest --reruns 2 tests/store/test_cursor.py + pytest --reruns 2 tests/store/test_cursor.py:TestCursor::test_get_multiple_2000_store_messages elif [ "${{ matrix.shard }}" != 7 ]; then - pytest --dist=loadgroup --ignore=tests/store/test_cursor.py --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results + pytest --dist=loadgroup --ignore=tests/store/test_cursor.py:TestCursor::test_get_multiple_2000_store_messages --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results fi diff --git a/tests/store/test_cursor.py b/tests/store/test_cursor.py index e8f60a50..ef28f9bb 100644 --- a/tests/store/test_cursor.py +++ b/tests/store/test_cursor.py @@ -10,7 +10,6 @@ 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):