CCR/TEST: AwaitsFix testFailOverOnFollower

Tracked at #34412
This commit is contained in:
Nhat Nguyen 2018-10-13 21:05:33 -04:00
parent a7c4dbbb0c
commit 429c29e833
2 changed files with 3 additions and 0 deletions

View File

@ -373,6 +373,7 @@ public class ShardChangesIT extends ESIntegTestCase {
assertMaxSeqNoOfUpdatesIsTransferred(resolveIndex("index1"), resolveIndex("index2"), numberOfShards);
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/34412")
public void testFollowIndexAndCloseNode() throws Exception {
internalCluster().ensureAtLeastNumDataNodes(3);
String leaderIndexSettings = getIndexSettings(3, 1, singletonMap(IndexSettings.INDEX_SOFT_DELETES_SETTING.getKey(), "true"));
@ -693,6 +694,7 @@ public class ShardChangesIT extends ESIntegTestCase {
assertThat(client().prepareSearch("index2").get().getHits().getTotalHits(), equalTo(2L));
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/34412")
public void testFailOverOnFollower() throws Exception {
int numberOfReplicas = between(1, 2);
internalCluster().startMasterOnlyNode();

View File

@ -227,6 +227,7 @@ public class ShardFollowTaskReplicationTests extends ESIndexLevelReplicationTest
}
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/34412")
public void testRetryBulkShardOperations() throws Exception {
try (ReplicationGroup leaderGroup = createGroup(between(0, 1));
ReplicationGroup followerGroup = createFollowGroup(between(1, 3))) {