Skip to content

Commit f3aa5a8

Browse files
committed
CCR/TEST: AwaitsFix testFailOverOnFollower
Tracked at #34412
1 parent a781d41 commit f3aa5a8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/ShardChangesIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ public void afterBulk(long executionId, BulkRequest request, Throwable failure)
373373
assertMaxSeqNoOfUpdatesIsTransferred(resolveIndex("index1"), resolveIndex("index2"), numberOfShards);
374374
}
375375

376+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/34412")
376377
public void testFollowIndexAndCloseNode() throws Exception {
377378
internalCluster().ensureAtLeastNumDataNodes(3);
378379
String leaderIndexSettings = getIndexSettings(3, 1, singletonMap(IndexSettings.INDEX_SOFT_DELETES_SETTING.getKey(), "true"));
@@ -693,6 +694,7 @@ public void testUnfollowIndex() throws Exception {
693694
assertThat(client().prepareSearch("index2").get().getHits().getTotalHits(), equalTo(2L));
694695
}
695696

697+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/34412")
696698
public void testFailOverOnFollower() throws Exception {
697699
int numberOfReplicas = between(1, 2);
698700
internalCluster().startMasterOnlyNode();

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/ShardFollowTaskReplicationTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public void testChangeFollowerHistoryUUID() throws Exception {
227227
}
228228
}
229229

230+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/34412")
230231
public void testRetryBulkShardOperations() throws Exception {
231232
try (ReplicationGroup leaderGroup = createGroup(between(0, 1));
232233
ReplicationGroup followerGroup = createFollowGroup(between(1, 3))) {

0 commit comments

Comments
 (0)