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 Original file line number Diff line number Diff line change @@ -110,22 +110,12 @@ private static void refresh(String index) throws IOException {
110
110
assertOK (client ().performRequest (new Request ("POST" , "/" + index + "/_refresh" )));
111
111
}
112
112
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
-
119
113
private static void followIndex (String leaderIndex , String followIndex ) throws IOException {
120
114
final Request request = new Request ("PUT" , "/" + followIndex + "/_ccr/follow" );
121
115
request .setJsonEntity ("{\" leader_index\" : \" " + leaderIndex + "\" , \" poll_timeout\" : \" 10ms\" }" );
122
116
assertOK (client ().performRequest (request ));
123
117
}
124
118
125
- private static void pauseFollow (String followIndex ) throws IOException {
126
- assertOK (client ().performRequest (new Request ("POST" , "/" + followIndex + "/_ccr/pause_follow" )));
127
- }
128
-
129
119
private static void verifyDocuments (String index , int expectedNumDocs ) throws IOException {
130
120
verifyDocuments (index , expectedNumDocs , client ());
131
121
}
You can’t perform that action at this time.
0 commit comments