Skip to content

Commit 1db577a

Browse files
committed
tests(benchmarks): increase timeouts and increase incrementation frequency
Signed-off-by: Marcel Klehr <[email protected]>
1 parent df1f2a7 commit 1db577a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6916,7 +6916,7 @@ describe('Floccus', function() {
69166916
const setInterrupt = () => {
69176917
if (!timeouts.length) {
69186918
timeouts = new Array(1000).fill(0).map((_, index) =>
6919-
ACCOUNT_DATA.type === 'nextcloud-bookmarks' ? random.int(50000, 150000) : random.int(200, Math.round(4000 + (10000 - 4000) * index / 10000))
6919+
ACCOUNT_DATA.type === 'nextcloud-bookmarks' ? random.int(50000, 150000) : random.int(200, Math.round(4000 + (20000 - 4000) * (index % 20) / 20))
69206920
)
69216921
}
69226922
const timeout = timeouts[(i++) % 1000]

0 commit comments

Comments
 (0)