Skip to content

Commit 9d11733

Browse files
szegediBridgeAR
authored andcommitted
test(profiler): fix flaky poisson test (#6341)
1 parent 14fb510 commit 9d11733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dd-trace/test/profiling/profilers/poisson.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ describe('PoissonProcessSamplingFilter', () => {
132132
assert.ok(filter.currentSamplingInstant >= prevNextSamplingInstant)
133133
assert.strictEqual(typeof filter.nextSamplingInstant, 'number')
134134
assert.ok(filter.nextSamplingInstant < 500000)
135-
assert.ok(filter.samplingInstantCount < 10)
135+
assert.ok(filter.samplingInstantCount < 30)
136136
})
137137

138138
it('should reset nextSamplingInstant if it is too far in the past', () => {

0 commit comments

Comments
 (0)