Skip to content

Commit 197f983

Browse files
authored
chore(system-tests-k8s): use --local_test_jobs (dfinity#3519)
Use `--local_test_jobs` to limit parallelism only on test targets and not on build targets. Setting default `--local_test_jobs` to 10. This will be raised on a new cluster. On long term some queuing logic will have to be introduced in `setup` phase of system test driver.
1 parent 841793d commit 197f983

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/system-tests-k8s.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ on:
1919
required: false
2020
default: '//rs/tests/nns:node_removal_from_registry_test'
2121
jobs:
22-
description: 'Concurrent Bazel Jobs'
22+
description: 'Concurrent Bazel Test Jobs'
2323
required: false
24-
default: '32'
24+
default: '10'
2525

2626
env:
2727
TARGETS: |
2828
${{ github.event_name == 'schedule' && '//...' ||
2929
github.event_name == 'workflow_dispatch' && github.event.inputs.targets ||
3030
'//rs/tests/nns:node_removal_from_registry_test' }}
3131
JOBS: |
32-
${{ github.event_name == 'schedule' && '12' ||
32+
${{ github.event_name == 'schedule' && '10' ||
3333
github.event_name == 'workflow_dispatch' && github.event.inputs.jobs ||
34-
'32' }}
34+
'10' }}
3535
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
3636
CI_COMMIT_SHA: ${{ github.sha }}
3737
CI_JOB_NAME: ${{ github.job }}
@@ -82,7 +82,7 @@ jobs:
8282
BAZEL_COMMAND: "test"
8383
BAZEL_TARGETS: "${{ env.TARGETS }}"
8484
BAZEL_CI_CONFIG: "--config=ci --repository_cache=/cache/bazel"
85-
BAZEL_EXTRA_ARGS: "--jobs=${{ env.JOBS }} --test_tag_filters=k8s,-manual,-colocated,-long_test,-system_test_hourly,-system_test_nightly --k8s"
85+
BAZEL_EXTRA_ARGS: "--local_test_jobs=${{ env.JOBS }} --test_tag_filters=k8s,-manual,-colocated,-long_test,-system_test_hourly,-system_test_nightly --k8s"
8686
BUILDEVENT_APIKEY: ${{ secrets.HONEYCOMB_API_TOKEN }}
8787

8888
- name: Upload bazel-bep
@@ -159,7 +159,7 @@ jobs:
159159
BAZEL_COMMAND: "test"
160160
BAZEL_TARGETS: "${{ env.TARGETS }}"
161161
BAZEL_CI_CONFIG: "--config=ci --repository_cache=/cache/bazel"
162-
BAZEL_EXTRA_ARGS: "--jobs=${{ env.JOBS }} --test_tag_filters=k8s --k8s"
162+
BAZEL_EXTRA_ARGS: "--local_test_jobs=${{ env.JOBS }} --test_tag_filters=k8s --k8s"
163163
BUILDEVENT_APIKEY: ${{ secrets.HONEYCOMB_API_TOKEN }}
164164

165165
- name: Upload bazel-bep

0 commit comments

Comments
 (0)