From edf8e258f609f0edc5b41f1cc9cfbba759b51197 Mon Sep 17 00:00:00 2001 From: gagik Date: Fri, 4 Oct 2024 15:12:45 +0200 Subject: [PATCH] await both prompts --- packages/e2e-tests/test/e2e-current-op.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/e2e-tests/test/e2e-current-op.spec.ts b/packages/e2e-tests/test/e2e-current-op.spec.ts index 05f5e9d7d..357633530 100644 --- a/packages/e2e-tests/test/e2e-current-op.spec.ts +++ b/packages/e2e-tests/test/e2e-current-op.spec.ts @@ -26,6 +26,7 @@ describe('e2e currentOp', function () { args: [await testServer.connectionString()], }); await helperShell.waitForPrompt(); + await currentOpShell.waitForPrompt(); // Insert a dummy object so find commands will actually run with the delay. await helperShell.executeLine('db.coll.insertOne({})');