We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98fcd7c commit 208ecb4Copy full SHA for 208ecb4
internal-packages/testcontainers/src/index.ts
@@ -36,8 +36,12 @@ const network = async ({}, use: Use<StartedNetwork>) => {
36
try {
37
await use(network);
38
} finally {
39
+ try {
40
+ await network.stop();
41
+ } catch (error) {
42
+ console.warn("Network stop error (ignored):", error);
43
+ }
44
// Make sure to stop the network after use
- await network.stop();
45
}
46
};
47
0 commit comments