Skip to content

Commit 84c814c

Browse files
committed
fixup! profiling: bump chunk interval to 60s
1 parent ae42c8e commit 84c814c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/profiling-node/test/spanProfileUtils.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ describe('continuous profiling', () => {
501501
expect(startProfilingSpy).not.toHaveBeenCalledTimes(1);
502502
Sentry.profiler.startProfiler();
503503

504-
jest.advanceTimersByTime(5001);
504+
jest.advanceTimersByTime(60_001);
505505
expect(stopProfilingSpy).toHaveBeenCalledTimes(1);
506506
expect(startProfilingSpy).toHaveBeenCalledTimes(2);
507507
});
@@ -518,7 +518,7 @@ describe('continuous profiling', () => {
518518
Sentry.profiler.startProfiler();
519519
const profilerId = getProfilerId();
520520

521-
jest.advanceTimersByTime(5001);
521+
jest.advanceTimersByTime(60_001);
522522
expect(stopProfilingSpy).toHaveBeenCalledTimes(1);
523523
expect(startProfilingSpy).toHaveBeenCalledTimes(2);
524524
expect(getProfilerId()).toBe(profilerId);
@@ -552,7 +552,7 @@ describe('continuous profiling', () => {
552552
expect(startProfilingSpy).not.toHaveBeenCalledTimes(1);
553553
Sentry.profiler.startProfiler();
554554

555-
jest.advanceTimersByTime(5001);
555+
jest.advanceTimersByTime(60_001);
556556
expect(stopProfilingSpy).toHaveBeenCalledTimes(1);
557557
});
558558

0 commit comments

Comments
 (0)