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:
@@ -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. The unit of timeouts here is **millisecond**. For example:
205
+
The composite wait strategy by default will respect each individual wait strategy's startup timeout. For example:
206
206
207
207
```javascript
208
-
constw1=Wait.forListeningPorts().withStartupTimeout(1000); //wait 1 second
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:
218
218
219
219
```javascript
220
-
constw1=Wait.forListeningPorts().withStartupTimeout(1000); //wait 1 second
220
+
constw1=Wait.forListeningPorts().withStartupTimeout(1000); // 1 second
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**.
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.
0 commit comments