From e8206699e7e8055fe0d3ecefb702c85533d4a686 Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Fri, 2 Feb 2024 19:26:11 -0500 Subject: [PATCH] increase timeouts --- packages/agent/tests/sync-manager.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/agent/tests/sync-manager.spec.ts b/packages/agent/tests/sync-manager.spec.ts index d52da6f78..a7e2cc9fc 100644 --- a/packages/agent/tests/sync-manager.spec.ts +++ b/packages/agent/tests/sync-manager.spec.ts @@ -184,7 +184,7 @@ describe('SyncManagerLevel', () => { expect(remoteDwnQueryReply.entries).to.have.length(4); remoteRecordsFromQuery = remoteDwnQueryReply.entries?.map(entry => entry.recordId); expect(remoteRecordsFromQuery).to.have.members([...localRecords, ...remoteRecords]); - }).timeout(2_500); + }).timeout(3_000); describe('pull()', () => { it('takes no action if no identities are registered', async () => { @@ -380,7 +380,7 @@ describe('SyncManagerLevel', () => { localDwnQueryReply = queryResponse.reply as RecordsQueryReply; expect(localDwnQueryReply.status.code).to.equal(200); // Query was successfully executed. expect(localDwnQueryReply.entries).to.have.length(1); // Record does exist on local DWN. - }).timeout(2_500); + }).timeout(3_000); }); describe('push()', () => { @@ -576,7 +576,7 @@ describe('SyncManagerLevel', () => { remoteDwnQueryReply = queryResponse.reply as RecordsQueryReply; expect(remoteDwnQueryReply.status.code).to.equal(200); // Query was successfully executed. expect(remoteDwnQueryReply.entries).to.have.length(1); // Record does exist on remote DWN. - }).timeout(2_500); + }).timeout(3_000); }); describe('startSync()', () => {