Skip to content

Commit 3e06712

Browse files
committed
Remove dead methods from ChainIT
This commit removes some unused methods from ChainIT.
1 parent ea576a8 commit 3e06712

File tree

1 file changed

+0
-10
lines changed
  • x-pack/plugin/ccr/qa/chain/src/test/java/org/elasticsearch/xpack/ccr

1 file changed

+0
-10
lines changed

x-pack/plugin/ccr/qa/chain/src/test/java/org/elasticsearch/xpack/ccr/ChainIT.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,12 @@ private static void refresh(String index) throws IOException {
110110
assertOK(client().performRequest(new Request("POST", "/" + index + "/_refresh")));
111111
}
112112

113-
private static void resumeFollow(String leaderIndex, String followIndex) throws IOException {
114-
final Request request = new Request("POST", "/" + followIndex + "/_ccr/resume_follow");
115-
request.setJsonEntity("{\"leader_index\": \"" + leaderIndex + "\", \"poll_timeout\": \"10ms\"}");
116-
assertOK(client().performRequest(request));
117-
}
118-
119113
private static void followIndex(String leaderIndex, String followIndex) throws IOException {
120114
final Request request = new Request("PUT", "/" + followIndex + "/_ccr/follow");
121115
request.setJsonEntity("{\"leader_index\": \"" + leaderIndex + "\", \"poll_timeout\": \"10ms\"}");
122116
assertOK(client().performRequest(request));
123117
}
124118

125-
private static void pauseFollow(String followIndex) throws IOException {
126-
assertOK(client().performRequest(new Request("POST", "/" + followIndex + "/_ccr/pause_follow")));
127-
}
128-
129119
private static void verifyDocuments(String index, int expectedNumDocs) throws IOException {
130120
verifyDocuments(index, expectedNumDocs, client());
131121
}

0 commit comments

Comments
 (0)