@@ -161,7 +161,7 @@ class ParallelCommand(tuple):
161161 (6, 'build', POST_BUILD_VERIFY + ' --ctest-shard ${{ matrix.shard }}/4'),
162162 (6, 'build-debug', POST_BUILD_VERIFY + ' --ctest-shard ${{ matrix.shard }}/2'),
163163 (6, 'sanitizers', 'run: python3 scripts/ci_verify.py sanitizers --build-dir build-asan '
164- '--jobs "$(getconf _NPROCESSORS_ONLN)" --ccache --ctest-shard ${{ matrix.shard }}/4 '),
164+ '--jobs "$(getconf _NPROCESSORS_ONLN)" --ccache --ctest-shard ${{ matrix.shard }}/8 '),
165165 (6, 'kernel-only', KERNEL_VERIFY),
166166 (1, 'native-live-shards',
167167 'run: python3 scripts/ci_verify.py ${{ matrix.profile }} --build-dir ${{ matrix.build_dir }} '
@@ -2038,7 +2038,7 @@ def test_post_fleet_docs_match_runner_policy(self):
20382038 'build (ubuntu-24.04, Release)'),
20392039 ('build-debug', 'debug', 2, GKE_16_128, 'build-debug-gate',
20402040 'build (ubuntu-24.04, Debug)'),
2041- ('sanitizers', 'sanitizers', 4 , GKE_32_256, 'sanitizers-gate', 'sanitizers'),
2041+ ('sanitizers', 'sanitizers', 8 , GKE_32_256, 'sanitizers-gate', 'sanitizers'),
20422042 ('kernel-only', 'kernel', 2, GKE_16, 'kernel-only-gate', 'kernel-only'),
20432043)
20442044
@@ -2124,7 +2124,8 @@ def test_shard_denominators_must_match_the_pinned_matrix(self):
21242124 spelled = in_job(source, job, flag, spelling)
21252125 self.assertNotIn(f'ci-post.yml {job} must pass {flag} exactly once to ci_verify',
21262126 ci_preflight.runner_findings({'ci-post.yml': spelled}))
2127- for replacement in ('', spelling.replace(f'/{count}', '/8'),
2127+ wrong_count = 4 if count == 8 else 8
2128+ for replacement in ('', spelling.replace(f'/{count}', f'/{wrong_count}'),
21282129 '--ctest-shard 1/1', spelling + ' ' + spelling):
21292130 with self.subTest(job=job, spelling=spelling, flag=replacement):
21302131 changed = in_job(spelled, job, spelling, replacement)
0 commit comments