Skip to content

Commit f62a2a2

Browse files
committed
transactions.test.ts: increase the timeout of some tests to reduce flakiness
1 parent 114bc6e commit f62a2a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/test/integration/api/transactions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ apiDescribe('Database transactions', (persistence: boolean) => {
314314
.run(get, set1, set2)
315315
.expectDoc({ foo: 'bar2' });
316316
});
317-
});
317+
}).timeout(10000);
318318

319319
// This test is identical to the test above, except that withNonexistentDoc()
320320
// is replaced by withDeletedDoc(), to guard against regression of
@@ -355,7 +355,7 @@ apiDescribe('Database transactions', (persistence: boolean) => {
355355
.expectDoc({ foo: 'bar2' });
356356
await tt.withDeletedDoc().run(get, set1, set2).expectDoc({ foo: 'bar2' });
357357
});
358-
});
358+
}).timeout(10000);
359359

360360
it('runs transactions on existing document', async () => {
361361
return withTestDb(persistence, async db => {

0 commit comments

Comments
 (0)