Skip to content

Commit 26706dc

Browse files
committed
Add delay before sending request in async gateway test
1 parent 67a3d99 commit 26706dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/e2e/hooks.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,8 @@ describe("Hooks E2E Tests", () => {
648648
asyncGateway.addRoute(asyncRouteConfig);
649649
const asyncServer = await asyncGateway.listen(asyncGatewayPort);
650650

651+
await new Promise((resolve) => setTimeout(resolve, 50));
652+
651653
try {
652654
const testRequestId = "test-" + Date.now();
653655
const response = await fetch(

0 commit comments

Comments
 (0)