Add test_rln.py again to job and increase shards to 13

This commit is contained in:
aya 2024-12-25 14:59:22 +02:00
parent c9925a56c3
commit 82abd26f45
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ jobs:
name: tests
strategy:
matrix:
shard: [ 0,1,2,3,4,5,6,7 ,8,9,10]
shard: [ 0,1,2,3,4,5,6,7 ,8,9,10,11,12]
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
@ -59,7 +59,7 @@ jobs:
if [ "${{ matrix.shard }}" == 7 ]; then
pytest --reruns 2 -k "test_get_multiple_2000_store_messages" -n 1 --maxfail=1
elif [ "${{ matrix.shard }}" != 7 ]; then
pytest --dist=loadgroup --ignore=test_get_multiple_2000_store_messages --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results
pytest --dist=loadgroup --ignore=test_get_multiple_2000_store_messages --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=13 --alluredir=allure-results
fi

View File

@ -14,7 +14,7 @@ logger = get_custom_logger(__name__)
@pytest.mark.xdist_group(name="RLN serial tests")
@pytest.mark.skipif("nwaku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
@pytest.mark.skipif("go-waku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
class TestRelayRLN(StepsRLN, StepsRelay):
SAMPLE_INPUTS_RLN = SAMPLE_INPUTS + SAMPLE_INPUTS + SAMPLE_INPUTS