Skip to content

Commit 73bbb7f

Browse files
original-brownbearjkakavas
authored andcommitted
Mute all GC Disruption Simulating Tests (#45032)
* We suspect these might be causing #43387 so let's mute them on `master` temporarily to find out
1 parent 6a30267 commit 73bbb7f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

server/src/test/java/org/elasticsearch/discovery/MasterDisruptionIT.java

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public class MasterDisruptionIT extends AbstractDisruptionTestCase {
5555
/**
5656
* Test that cluster recovers from a long GC on master that causes other nodes to elect a new one
5757
*/
58+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/43387")
5859
public void testMasterNodeGCs() throws Exception {
5960
List<String> nodes = startCluster(3);
6061

server/src/test/java/org/elasticsearch/discovery/StableMasterDisruptionIT.java

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ private void testFollowerCheckerAfterMasterReelection(NetworkLinkDisruptionType
173173
* Tests that emulates a frozen elected master node that unfreezes and pushes its cluster state to other nodes that already are
174174
* following another elected master node. These nodes should reject this cluster state and prevent them from following the stale master.
175175
*/
176+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/43387")
176177
public void testStaleMasterNotHijackingMajority() throws Exception {
177178
final List<String> nodes = internalCluster().startNodes(3, Settings.builder()
178179
.put(LeaderChecker.LEADER_CHECK_TIMEOUT_SETTING.getKey(), "1s")

test/framework/src/test/java/org/elasticsearch/test/disruption/LongGCDisruptionTests.java

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919
package org.elasticsearch.test.disruption;
2020

21+
import org.apache.lucene.util.LuceneTestCase;
2122
import org.elasticsearch.common.Nullable;
2223
import org.elasticsearch.test.ESTestCase;
2324

@@ -36,6 +37,7 @@
3637
import static org.hamcrest.Matchers.equalTo;
3738
import static org.hamcrest.Matchers.greaterThan;
3839

40+
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/43387")
3941
public class LongGCDisruptionTests extends ESTestCase {
4042

4143
static class LockedExecutor {

0 commit comments

Comments
 (0)