Skip to content

Commit a3847d6

Browse files
committed
tmp: run mongo-v0 and mongo-v1 ft-tests 10x in parallel for flakiness validation
1 parent 952ba6a commit a3847d6

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,10 @@ jobs:
337337
mongo-v0-ft-tests:
338338
runs-on: ubuntu-24.04
339339
needs: build
340+
strategy:
341+
fail-fast: false
342+
matrix:
343+
run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
340344
env:
341345
S3BACKEND: mem
342346
MPU_TESTING: 'yes'
@@ -346,7 +350,7 @@ jobs:
346350
DEFAULT_BUCKET_KEY_FORMAT: v0
347351
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
348352
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}-testcoverage
349-
JOB_NAME: ${{ github.job }}
353+
JOB_NAME: ${{ github.job }}-${{ matrix.run }}
350354
S3_SERVER_ACCESS_LOGS_MODE: ENABLED
351355
steps:
352356
- name: Checkout
@@ -367,7 +371,7 @@ jobs:
367371
run: |-
368372
set -o pipefail;
369373
bash wait_for_local_port.bash 8000 40
370-
yarn run ft_test | tee /tmp/artifacts/${{ github.job }}/tests.log
374+
yarn run ft_test | tee /tmp/artifacts/${{ env.JOB_NAME }}/tests.log
371375
env:
372376
S3_LOCATION_FILE: tests/locationConfig/locationConfigTests.json
373377
- name: Cleanup and upload coverage
@@ -396,6 +400,10 @@ jobs:
396400
mongo-v1-ft-tests:
397401
runs-on: ubuntu-24.04
398402
needs: build
403+
strategy:
404+
fail-fast: false
405+
matrix:
406+
run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
399407
env:
400408
S3BACKEND: mem
401409
MPU_TESTING: 'yes'
@@ -407,7 +415,7 @@ jobs:
407415
METADATA_MAX_CACHED_BUCKETS: 1
408416
MONGODB_IMAGE: ghcr.io/${{ github.repository }}/ci-mongodb:${{ github.sha }}
409417
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}:${{ github.sha }}-testcoverage
410-
JOB_NAME: ${{ github.job }}
418+
JOB_NAME: ${{ github.job }}-${{ matrix.run }}
411419
S3_SERVER_ACCESS_LOGS_MODE: ENABLED
412420
steps:
413421
- name: Checkout
@@ -428,8 +436,8 @@ jobs:
428436
run: |-
429437
set -o pipefail;
430438
bash wait_for_local_port.bash 8000 40
431-
yarn run ft_test | tee /tmp/artifacts/${{ github.job }}/tests.log
432-
yarn run ft_mixed_bucket_format_version | tee /tmp/artifacts/${{ github.job }}/mixed-tests.log
439+
yarn run ft_test | tee /tmp/artifacts/${{ env.JOB_NAME }}/tests.log
440+
yarn run ft_mixed_bucket_format_version | tee /tmp/artifacts/${{ env.JOB_NAME }}/mixed-tests.log
433441
env:
434442
S3_LOCATION_FILE: tests/locationConfig/locationConfigTests.json
435443
- name: Cleanup and upload coverage

0 commit comments

Comments
 (0)