Skip to content

Commit 23e1b62

Browse files
committed
Set Erlang cookie explicitly for running Clouseau
The Erlang cookie shared by the CouchDB and Clouseau nodes goes out of sync somehow mysteriously which makes the corresponding tests fail immediately. Until the exact causes are known, work around this issue by configuring both sides with the same string (via the `ERLANG_COOKIE` make variable) and do not rely on other implicit methods of generating and obtaining the cookie from other sources.
1 parent 9025e10 commit 23e1b62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build-aux/Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ def generateNativeStage(platform) {
276276
retry (3) {sh '$MAKE eunit'}
277277
if (meta[platform].quickjs_test262) {retry(3) {sh 'make quickjs-test262'}}
278278
retry (3) {sh '$MAKE elixir'}
279-
retry (3) {sh '$MAKE elixir-search'}
280-
retry (3) {sh '$MAKE mango-test'}
279+
retry (3) {sh '$MAKE elixir-search ERLANG_COOKIE=crumbles'}
280+
retry (3) {sh '$MAKE mango-test ERLANG_COOKIE=crumbles'}
281281
retry (3) {sh '$MAKE weatherreport-test'}
282282
retry (3) {sh '$MAKE nouveau-test'}
283283
}
@@ -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"}
416-
retry(3) {sh "${setClouseauJavaHome}make mango-test"}
415+
retry(3) {sh "${setClouseauJavaHome}make elixir-search ERLANG_COOKIE=crumbles"}
416+
retry(3) {sh "${setClouseauJavaHome}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)