Skip to content

Commit 81a4abc

Browse files
test(firestore): extend database source test timeout to 30s (#9896)
* test(firestore): extend database source test timeout to 30s Extend the timeout of the database source pipeline test from 20s to 30s. This test is very slow and is exceeding the 20s timeout, causing the test to fail locally and in CI. * Update packages/firestore/test/lite/pipeline.test.ts Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * add to browser tests --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 3ed9c39 commit 81a4abc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ apiDescribe.skipClassic('Pipelines', persistence => {
623623
.sort(ascending('order'))
624624
);
625625
expectResults(snapshot, doc1.id, doc2.id);
626-
});
626+
}).timeout(30_000);
627627
});
628628

629629
describe('supported data types', () => {

packages/firestore/test/lite/pipeline.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ describe.skipClassic('Firestore Pipelines', () => {
623623
.sort(ascending('order'))
624624
);
625625
expectResults(snapshot, doc1.id, doc2.id);
626-
});
626+
}).timeout(30_000); // Database-wide pipelines can be slow to execute.
627627

628628
it('can create pipeline from a query', async () => {
629629
const snapshot = await execute(

0 commit comments

Comments
 (0)