From 123928a29be1b90061be3481fb5dd6db7dc32a28 Mon Sep 17 00:00:00 2001 From: JonasBa Date: Wed, 19 Oct 2022 14:48:28 -0400 Subject: [PATCH] test(samples): bump min samples --- src/cpu_profiler.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {