Skip to content

Commit 41705fe

Browse files
committed
Slightly more lenient test timeout.
1 parent 01c0967 commit 41705fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/powersynctests/src/tests/queries.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ export function registerBaseTests() {
605605
await watched;
606606
});
607607

608-
it('10000 INSERTs', async () => {
608+
it('1000 INSERTs', async () => {
609609
let start = performance.now();
610610
for (let i = 0; i < 1000; ++i) {
611611
const n = randomIntFromInterval(0, 100000);
@@ -618,7 +618,7 @@ export function registerBaseTests() {
618618
let end = performance.now();
619619
let duration = end - start;
620620

621-
expect(duration).lessThan(2000);
621+
expect(duration).lessThan(4000);
622622
});
623623

624624
// // TODO: Behaviour differs between RNQS and OP-sqlite. Might need to fix this one in the OP-sqlite package

0 commit comments

Comments
 (0)