Skip to content

Commit ebe62f8

Browse files
committed
Set timeout for Clouseau tests on containerized builders
For some reason, the local cluster to run the integration tests that may require Clouseau (Search) does not always start up properly which makes the execution hang indefinitely when run in a Docker container. Work around the issue by setting a reasonable time limit (5 minutes) for each of those and combined with the Jenkins retry, it can help with recovering the build in such unfortunate scenarios.
1 parent 23e1b62 commit ebe62f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build-aux/Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ def generateContainerStage(platform) {
412412
retry(3) {sh 'make eunit'}
413413
if (meta[platform].quickjs_test262) {retry(3) {sh 'make quickjs-test262'}}
414414
retry(3) {sh 'make elixir'}
415-
retry(3) {sh "${setClouseauJavaHome}make elixir-search ERLANG_COOKIE=crumbles"}
416-
retry(3) {sh "${setClouseauJavaHome}make mango-test ERLANG_COOKIE=crumbles"}
415+
retry(3) {sh "${setClouseauJavaHome}timeout 5m make elixir-search ERLANG_COOKIE=crumbles"}
416+
retry(3) {sh "${setClouseauJavaHome}timeout 5m make mango-test ERLANG_COOKIE=crumbles"}
417417
retry(3) {sh 'make weatherreport-test'}
418418
retry(3) {sh 'make nouveau-test'}
419419
}

0 commit comments

Comments
 (0)