Skip to content

Commit 58f57d8

Browse files
author
Per Goncalves da Silva
committed
Fix e2e gha num chunks
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 1c09718 commit 58f57d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ jobs:
9292
9393
# run non-flakes if matrix-id is not 'flakes'
9494
- name: Run e2e tests
95-
# calculate the number of chunks as the number of parallel jobs minus 1 (flakes job)
95+
# calculate the number of chunks as the number of parallel jobs
9696
# use the split tool to split the test suite into chunks and run the chunk corresponding to the matrix-id
9797
# focus on those tests and skip tests marked as FLAKE
9898
run: |
99-
E2E_TEST_NUM_CHUNKS=$(( ${{ strategy.job-total }} - 1 )) \
99+
E2E_TEST_NUM_CHUNKS=$(( ${{ strategy.job-total }} )) \
100100
GINKGO_OPTS="${GINKGO_OPTS} -focus '$(go run ./test/e2e/split/... -chunks $E2E_TEST_NUM_CHUNKS -print-chunk $E2E_TEST_CHUNK ./test/e2e)' -skip '\[FLAKE\]'" \
101101
make e2e;
102102

0 commit comments

Comments
 (0)