Skip to content

Commit f81128e

Browse files
Trying a larger timeout for downloading images
Signed-off-by: Norman Jordan <norman.jordan@improving.com>
1 parent 1ab8f34 commit f81128e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

e2e-test/src/test/scala/org/opensearch/spark/e2e/EndToEndITSuite.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ class EndToEndITSuite extends AnyFlatSpec with TableDrivenPropertyChecks with Be
7575
val dockerProcess = new ProcessBuilder("docker", "compose", "up", "-d")
7676
.directory(new File(DOCKER_INTEG_DIR))
7777
.start()
78-
dockerProcess.waitFor(10, TimeUnit.MINUTES)
78+
val completed = dockerProcess.waitFor(30, TimeUnit.MINUTES)
79+
if (!completed) {
80+
throw new IllegalStateException("Unable to start docker cluster")
81+
}
7982

8083
if (dockerProcess.exitValue() != 0) {
8184
logError("Unable to start docker cluster")

0 commit comments

Comments
 (0)