JUnit base int test flakes due to java.io.IOException: cluster state is YELLOW with 3 nodes
Sometimes, the Junit based int tests fail with this error message:
[2023-04-23T02:06:14,447][ERROR][c.e.s.s.t.h.c.LocalCluster] Local ES cluster start failed
java.io.IOException: cluster state is YELLOW with 3 nodes
at com.eliatra.suite.securityplus.test.helper.cluster.LocalEsCluster.waitForCluster(LocalEsCluster.java:350) ~[securityplus-core-master-SNAPSHOT-os-2.6.0-tests.jar:master-SNAPSHOT-os-2.6.0]
at com.eliatra.suite.securityplus.test.helper.cluster.LocalEsCluster.start(LocalEsCluster.java:169) ~[securityplus-core-master-SNAPSHOT-os-2.6.0-tests.jar:master-SNAPSHOT-os-2.6.0]
at com.eliatra.suite.securityplus.test.helper.cluster.LocalCluster.start(LocalCluster.java:284) [securityplus-core-master-SNAPSHOT-os-2.6.0-tests.jar:master-SNAPSHOT-os-2.6.0]
at com.eliatra.suite.securityplus.test.helper.cluster.LocalCluster.access$300(LocalCluster.java:92) [securityplus-core-master-SNAPSHOT-os-2.6.0-tests.jar:master-SNAPSHOT-os-2.6.0]
at com.eliatra.suite.securityplus.test.helper.cluster.LocalCluster$Builder.start(LocalCluster.java:561) [securityplus-core-master-SNAPSHOT-os-2.6.0-tests.jar:master-SNAPSHOT-os-2.6.0]
We should investigate how this can be fixed.