@@ -163,7 +163,7 @@ class ParallelCommand(tuple):
163163 (6, 'build', POST_BUILD_VERIFY + ' --ctest-shard ${{ matrix.shard }}/4'),
164164 (6, 'build-debug', POST_BUILD_VERIFY + ' --ctest-shard ${{ matrix.shard }}/2'),
165165 (6, 'sanitizers', 'run: python3 scripts/ci_verify.py sanitizers --build-dir build-asan '
166- '--jobs "$(getconf _NPROCESSORS_ONLN)" --ccache --ctest-shard ${{ matrix.shard }}/4 '),
166+ '--jobs "$(getconf _NPROCESSORS_ONLN)" --ccache --ctest-shard ${{ matrix.shard }}/8 '),
167167 (6, 'kernel-only', KERNEL_VERIFY),
168168 (1, 'native-live-shards',
169169 'run: python3 scripts/ci_verify.py ${{ matrix.profile }} --build-dir ${{ matrix.build_dir }} '
@@ -2524,7 +2524,7 @@ def test_post_fleet_docs_refuse_same_size_wrong_protected_runner(self):
25242524 'build (ubuntu-24.04, Release)'),
25252525 ('build-debug', 'debug', 2, GKE_16_128, 'build-debug-gate',
25262526 'build (ubuntu-24.04, Debug)'),
2527- ('sanitizers', 'sanitizers', 4 , GKE_32_256, 'sanitizers-gate', 'sanitizers'),
2527+ ('sanitizers', 'sanitizers', 8 , GKE_32_256, 'sanitizers-gate', 'sanitizers'),
25282528 ('kernel-only', 'kernel', 2, GKE_16, 'kernel-only-gate', 'kernel-only'),
25292529)
25302530
@@ -2610,7 +2610,8 @@ def test_shard_denominators_must_match_the_pinned_matrix(self):
26102610 spelled = in_job(source, job, flag, spelling)
26112611 self.assertNotIn(f'ci-post.yml {job} must pass {flag} exactly once to ci_verify',
26122612 ci_preflight.runner_findings({'ci-post.yml': spelled}))
2613- for replacement in ('', spelling.replace(f'/{count}', '/8'),
2613+ wrong_count = 4 if count == 8 else 8
2614+ for replacement in ('', spelling.replace(f'/{count}', f'/{wrong_count}'),
26142615 '--ctest-shard 1/1', spelling + ' ' + spelling):
26152616 with self.subTest(job=job, spelling=spelling, flag=replacement):
26162617 changed = in_job(spelled, job, spelling, replacement)
0 commit comments