|
@@ -65,7 +65,6 @@ import static org.hamcrest.Matchers.equalTo;
|
|
|
* Tests relating to the loss of the master, but which work with the default fault detection settings which are rather lenient and will
|
|
|
* not detect a master failure too quickly.
|
|
|
*/
|
|
|
-@TestLogging("_root:DEBUG,org.elasticsearch.cluster.service:TRACE")
|
|
|
@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST, numDataNodes = 0)
|
|
|
public class StableMasterDisruptionIT extends ESIntegTestCase {
|
|
|
|
|
@@ -174,6 +173,8 @@ public class StableMasterDisruptionIT extends ESIntegTestCase {
|
|
|
* Tests that emulates a frozen elected master node that unfreezes and pushes its cluster state to other nodes that already are
|
|
|
* following another elected master node. These nodes should reject this cluster state and prevent them from following the stale master.
|
|
|
*/
|
|
|
+ @TestLogging("_root:DEBUG,org.elasticsearch.cluster.service:TRACE")
|
|
|
+ // TestLogging for https://github.com/elastic/elasticsearch/issues/43392
|
|
|
public void testStaleMasterNotHijackingMajority() throws Exception {
|
|
|
final List<String> nodes = internalCluster().startNodes(3, Settings.builder()
|
|
|
.put(LeaderChecker.LEADER_CHECK_TIMEOUT_SETTING.getKey(), "1s")
|