From 44a963904b47a0da1e0ad592777ee732c2637e7c Mon Sep 17 00:00:00 2001 From: Diana Date: Sun, 30 Jul 2023 07:18:48 +0300 Subject: [PATCH] make wait time shorter for no timeout. Signed-off-by: Diana Barsan --- tests/e2e/default/db/ongoing-replication.wdio-spec.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/default/db/ongoing-replication.wdio-spec.js b/tests/e2e/default/db/ongoing-replication.wdio-spec.js index e698b421fa8..07994d9e72d 100644 --- a/tests/e2e/default/db/ongoing-replication.wdio-spec.js +++ b/tests/e2e/default/db/ongoing-replication.wdio-spec.js @@ -26,6 +26,7 @@ describe('ongoing replication', () => { await utils.saveDocs([...userAllowedDocs.places, ...userDeniedDocs.places]); await utils.createUsers([userAllowedDocs.user]); + await sentinelUtils.skipToSeq(); await sentinelUtils.waitForSentinel(); await saveData(userAllowedDocs); @@ -36,6 +37,7 @@ describe('ongoing replication', () => { after(async () => { await sentinelUtils.skipToSeq(); + await sentinelUtils.waitForSentinel(); }); it('should download new documents ', async () => {