mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-02 14:03:08 +00:00
Reduce shards again to 8
This commit is contained in:
parent
cb3fde3182
commit
5591f550a1
6
.github/workflows/test_common.yml
vendored
6
.github/workflows/test_common.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
name: tests
|
||||
strategy:
|
||||
matrix:
|
||||
shard: [ 0,1,2,3,4,5,6,7 ,8,9,10,11,12,13,14]
|
||||
shard: [ 0,1,2,3,4,5,6,7]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
@ -57,11 +57,11 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
if [ "${{ matrix.shard }}" == 7 ]; then
|
||||
pytest --reruns 2 --dist=loadfile tests/store/test_cursor_many_msgs.py -n 1 --maxfail=1 --alluredir=allure-results-${{ matrix.shard }}
|
||||
pytest --reruns 2 --dist=loadfile tests/store/test_cursor_many_msgs.py -n 1 --alluredir=allure-results-${{ matrix.shard }}
|
||||
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 --dist=loadfile --ignore=tests/relay/test_rln.py --ignore=tests/store/test_cursor_many_msgs.py --reruns 2 -n=4 --shard-id=${{ matrix.shard }} --num-shards=15 --alluredir=allure-results-${{ matrix.shard }}
|
||||
pytest --dist=loadfile --ignore=tests/relay/test_rln.py --ignore=tests/store/test_cursor_many_msgs.py --reruns 2 -n=4 --shard-id=${{ matrix.shard }} --num-shards=8 --alluredir=allure-results-${{ matrix.shard }}
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user