Skip to content

Commit

Permalink
increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Feb 5, 2024
1 parent 23b333c commit a18b08d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/agent/tests/sync-manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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()', () => {
Expand Down Expand Up @@ -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()', () => {
Expand Down

0 comments on commit a18b08d

Please sign in to comment.