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 931c85f commit b8b17f1Copy full SHA for b8b17f1
internal-packages/testcontainers/src/utils.ts
@@ -201,6 +201,6 @@ export async function useContainer<TContainer extends StartedTestContainer>(
201
} finally {
202
// WARNING: Testcontainers by default will not wait until the container has stopped. It will simply issue the stop command and return immediately.
203
// If you need to wait for the container to be stopped, you can provide a timeout. The unit of timeout option here is second
204
- await logCleanup(name, container.stop({ timeout: 30 }), metadata);
+ await logCleanup(name, container.stop({ timeout: 10 }), metadata);
205
}
206
0 commit comments