Skip to content

Commit 394a11b

Browse files
committed
tests(benchmark): Increase max timeout to allow a full pass at some point
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 267a1b7 commit 394a11b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6920,8 +6920,8 @@ describe('Floccus', function() {
69206920
ACCOUNT_DATA.type === 'nextcloud-bookmarks'
69216921
// Produce random numbers of timeouts between 30s and increasing numbers between 30s and 180s (increasing for stretches of 20 items, then going back to 30s)
69226922
? random.int(30000, Math.round(30000 + (180000 - 30000) * (index % 20) / 20))
6923-
// Produce random numbers of timeouts between 4s and increasing numbers between 4s and 60s (increasing for stretches of 20 items, then going back to 4s)
6924-
: random.int(4000, Math.round(4000 + (60000 - 4000) * (index % 20) / 20))
6923+
// Produce random numbers of timeouts between 4s and increasing numbers between 4s and 120s (increasing for stretches of 20 items, then going back to 4s)
6924+
: random.int(4000, Math.round(4000 + (120000 - 4000) * (index % 20) / 20))
69256925
)
69266926
}
69276927
const timeout = timeouts[(i++) % 1000]

0 commit comments

Comments
 (0)