Skip to content

Commit f63c8b7

Browse files
committed
ref: Reduce flush delay for shorter tests
1 parent 08639f3 commit f63c8b7

File tree

22 files changed

+44
-44
lines changed

22 files changed

+44
-44
lines changed

packages/browser-integration-tests/suites/replay/bufferMode/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 1000,
6-
flushMaxDelay: 1000,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
});
99

packages/browser-integration-tests/suites/replay/compression/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 500,
6-
flushMaxDelay: 500,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
useCompression: true,
99
});

packages/browser-integration-tests/suites/replay/customEvents/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 500,
6-
flushMaxDelay: 500,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
useCompression: false,
99
blockAllMedia: false,

packages/browser-integration-tests/suites/replay/errors/droppedError/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 500,
6-
flushMaxDelay: 500,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
});
99

packages/browser-integration-tests/suites/replay/errors/errorModeCustomTransport/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 500,
6-
flushMaxDelay: 500,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
});
99

packages/browser-integration-tests/suites/replay/errors/errorNotSent/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 500,
6-
flushMaxDelay: 500,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
});
99

packages/browser-integration-tests/suites/replay/errors/errorsInSession/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 500,
6-
flushMaxDelay: 500,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
});
99

packages/browser-integration-tests/suites/replay/errors/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 1000,
6-
flushMaxDelay: 1000,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
});
99

packages/browser-integration-tests/suites/replay/flushing/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 500,
6-
flushMaxDelay: 500,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
useCompression: false,
99
});

packages/browser-integration-tests/suites/replay/keyboardEvents/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as Sentry from '@sentry/browser';
22

33
window.Sentry = Sentry;
44
window.Replay = new Sentry.Replay({
5-
flushMinDelay: 1000,
6-
flushMaxDelay: 1000,
5+
flushMinDelay: 200,
6+
flushMaxDelay: 200,
77
minReplayDuration: 0,
88
});
99

0 commit comments

Comments
 (0)