You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can disable automatic removal of the container, which is useful for debugging, or if for example you want to copy content from the container once it has stopped:
@@ -148,7 +148,7 @@ const container = await new GenericContainer("redis")
148
148
.withMethod("POST")
149
149
.withHeaders({ X_CUSTOM_VALUE:"custom" })
150
150
.withBasicCredentials("username", "password")
151
-
.withReadTimeout(10000))
151
+
.withReadTimeout(10000))// timeout after 10 seconds
152
152
```
153
153
154
154
### Use TLS
@@ -202,11 +202,11 @@ const container = await new GenericContainer("alpine")
202
202
.start();
203
203
```
204
204
205
-
The composite wait strategy by default will respect each individual wait strategy's startup timeout. For example:
205
+
The composite wait strategy by default will respect each individual wait strategy's startup timeout. The unit of timeouts here is **millisecond**. For example:
The startup timeout of inner wait strategies that have not defined their own startup timeout can be set by setting the startup timeout on the composite:
The startup timeout of all wait strategies can be controlled by setting a deadline on the composite. In this case, the composite will throw unless all inner wait strategies have resolved before the deadline.
229
+
The startup timeout of all wait strategies can be controlled by setting a deadline on the composite. In this case, the composite will throw unless all inner wait strategies have resolved before the deadline. The unit of deadline timeout is **millisecond**.
0 commit comments