Skip to content

Commit bc38105

Browse files
committed
chore: allow more outgoing connections
1 parent 23d9902 commit bc38105

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/runtime/test/consumption/openid4vc.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import axios, { AxiosInstance } from "axios";
2+
import { Agent, setGlobalDispatcher } from "undici";
23
import { ConsumptionServices } from "../../src";
34
import { RuntimeServiceProvider } from "../lib";
45

@@ -28,6 +29,8 @@ beforeAll(async () => {
2829
await new Promise((resolve) => setTimeout(resolve, 1000));
2930
healthCheckResult = await axiosInstance.get("/health");
3031
}
32+
33+
setGlobalDispatcher(new Agent({ connections: 100 }));
3134
}, 120000);
3235

3336
afterAll(async () => {

0 commit comments

Comments
 (0)