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 a1a7d44 commit 3014b92Copy full SHA for 3014b92
src/test/java/io/github/jopenlibs/vault/util/VaultContainer.java
@@ -10,6 +10,7 @@
10
import java.io.File;
11
import java.io.IOException;
12
import java.net.HttpURLConnection;
13
+import java.time.Duration;
14
import java.util.Optional;
15
import org.slf4j.Logger;
16
import org.slf4j.LoggerFactory;
@@ -70,6 +71,7 @@ public VaultContainer(String image) {
70
71
.forPort(8280)
72
.forPath("/v1/sys/seal-status")
73
.forStatusCode(HttpURLConnection.HTTP_OK)
74
+ .withStartupTimeout(Duration.ofMinutes(5))
75
// The expected response when "vault init" has not yet run
76
);
77
}
0 commit comments