mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-02 14:03:08 +00:00
run test_get_multiple_2000_store_messages in separate shard
This commit is contained in:
parent
adcfc49684
commit
c2ccaea7ba
4
.github/workflows/test_common.yml
vendored
4
.github/workflows/test_common.yml
vendored
@ -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
|
||||
|
||||
|
||||
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user