Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
test(samples): bump min samples
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Oct 19, 2022
1 parent 7bbd6f2 commit 123928a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpu_profiler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 123928a

Please sign in to comment.