diff --git a/src/cpu_profiler.test.ts b/src/cpu_profiler.test.ts index 17e78913..0e0c3c52 100644 --- a/src/cpu_profiler.test.ts +++ b/src/cpu_profiler.test.ts @@ -108,8 +108,8 @@ describe('Profiler bindings', () => { fail('Only ' + profile.samples.length + ' samples obtained on ' + process.platform + ', expected at least 2'); } } else { - if (profile.samples.length < 8) { - fail('Only ' + profile.samples.length + ' samples obtained on ' + process.platform + ', expected at least 8'); + if (profile.samples.length < 6) { + fail('Only ' + profile.samples.length + ' samples obtained on ' + process.platform + ', expected at least 6'); } } if (profile.samples.length > 13) {