test: retry the "v8 samples" test for a few times (#25514)

Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
This commit is contained in:
trop[bot]
2020-09-21 09:36:18 +09:00
committed by GitHub
parent 0f4f5ac32c
commit a66ba564fd

View File

@@ -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'