[TEST] pause index following after test

This commit is contained in:
Martijn van Groningen 2018-12-10 13:05:47 +01:00
parent c9c691b0cf
commit ca916f7186
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A

View File

@ -300,6 +300,9 @@ public class CCRDocumentationIT extends ESRestHighLevelClientTestCase {
// end::ccr-resume-follow-execute-async
assertTrue(latch.await(30L, TimeUnit.SECONDS));
// Cleanup:
client.ccr().pauseFollow(new PauseFollowRequest(followIndex), RequestOptions.DEFAULT);
}
public void testUnfollow() throws Exception {