Skip to content

Commit

Permalink
add delay
Browse files Browse the repository at this point in the history
Signed-off-by: MregXN <[email protected]>
  • Loading branch information
MregXN committed Dec 6, 2023
1 parent afbd69a commit 1c51b77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/e2e/common/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,13 @@ describe("common/server", () => {
});

await setupPubSubSubscriptions();
await NodeJSUtil.sleep(2000)
//sleep for 2 seconds to allow all subscriptions to be registered
await NodeJSUtil.sleep(2000);

await httpServer.start();
await grpcServer.start();
await NodeJSUtil.sleep(2000)
//sleep for 2 seconds to get servers ready
await NodeJSUtil.sleep(2000);
});

beforeEach(() => {
Expand Down

0 comments on commit 1c51b77

Please sign in to comment.