Skip to content

Commit fe4d658

Browse files
Updated timeouts for starting and stopping the cluster
Signed-off-by: Norman Jordan <norman.jordan@improving.com>
1 parent e9b7da4 commit fe4d658

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class EndToEndITSuite extends AnyFlatSpec with TableDrivenPropertyChecks with Be
8686
}
8787
}
8888
}.start()
89-
val completed = dockerProcess.waitFor(60, TimeUnit.MINUTES)
89+
val completed = dockerProcess.waitFor(30, TimeUnit.MINUTES)
9090
stopReading = true
9191
if (!completed) {
9292
throw new IllegalStateException("Unable to start docker cluster")
@@ -112,7 +112,7 @@ class EndToEndITSuite extends AnyFlatSpec with TableDrivenPropertyChecks with Be
112112
val dockerProcess = new ProcessBuilder("docker", "compose", "down")
113113
.directory(new File(DOCKER_INTEG_DIR))
114114
.start()
115-
dockerProcess.waitFor(5, TimeUnit.MINUTES)
115+
dockerProcess.waitFor(10, TimeUnit.MINUTES)
116116

117117
if (dockerProcess.exitValue() != 0) {
118118
logError("Unable to stop docker cluster")

0 commit comments

Comments
 (0)