diff --git a/spec-main/api-content-tracing-spec.ts b/spec-main/api-content-tracing-spec.ts index 3f2f258b09cac..cf7772622c93e 100644 --- a/spec-main/api-content-tracing-spec.ts +++ b/spec-main/api-content-tracing-spec.ts @@ -122,7 +122,10 @@ ifdescribe(!(process.platform !== 'win32' && ['arm', 'arm64'].includes(process.a }); describe('captured events', () => { - it('include V8 samples from the main process', async () => { + it('include V8 samples from the main process', async function () { + // This test is flaky on macOS CI. + this.retries(3); + await contentTracing.startRecording({ categoryFilter: 'disabled-by-default-v8.cpu_profiler', traceOptions: 'record-until-full'