Increase shards to 63

This commit is contained in:
aya 2024-12-25 21:58:34 +02:00
parent 6eefb8c684
commit d8def6f197

View File

@ -37,7 +37,10 @@ jobs:
name: tests
strategy:
matrix:
shard: [ 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48]
shard: [ 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,
24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,
49,50,51,52,53,54,55,56,57,58,59,60,61,62]
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
@ -61,7 +64,7 @@ jobs:
elif [ "${{ matrix.shard }}" == 1 ]; then
pytest --dist=loadfile tests/relay/test_rln.py -n 1 --alluredir=allure-results-${{ matrix.shard }}
elif [ "${{ matrix.shard }}" != 1 ]; then
pytest --ignore=tests/relay/test_rln.py --ignore=tests/store/test_cursor_many_msgs.py --reruns 2 -n=4 --shard-id=${{ matrix.shard }} --num-shards=49 --alluredir=allure-results-${{ matrix.shard }}
pytest --ignore=tests/relay/test_rln.py --ignore=tests/store/test_cursor_many_msgs.py --reruns 2 -n=4 --shard-id=${{ matrix.shard }} --num-shards=63 --alluredir=allure-results-${{ matrix.shard }}
fi