Skip to content

Commit

Permalink
CCR/TEST: AwaitsFix testFailOverOnFollower
Browse files Browse the repository at this point in the history
Tracked at #34412
  • Loading branch information
dnhatn authored and kcm committed Oct 30, 2018
1 parent a4fa821 commit c1037a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ public void afterBulk(long executionId, BulkRequest request, Throwable failure)
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"));
Expand Down Expand Up @@ -693,6 +694,7 @@ public void testUnfollowIndex() throws Exception {
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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ public void testChangeFollowerHistoryUUID() throws Exception {
}
}

@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))) {
Expand Down

0 comments on commit c1037a7

Please sign in to comment.