Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public static void failReadsAllDataNodes(String repository) {
}
}

public static void waitForBlockOnAnyDataNode(String repository) throws InterruptedException {
public static void waitForBlockOnAnyDataNode(String repository) {
final boolean blocked = waitUntil(() -> {
for (RepositoriesService repositoriesService : internalCluster().getDataNodeInstances(RepositoriesService.class)) {
MockRepository mockRepository = (MockRepository) repositoriesService.repository(repository);
Expand Down Expand Up @@ -475,13 +475,13 @@ protected SnapshotInfo createSnapshot(String repositoryName, String snapshot, Li
return createSnapshot(repositoryName, snapshot, indices, Collections.singletonList(NO_FEATURE_STATES_VALUE));
}

protected void createIndexWithRandomDocs(String indexName, int docCount) throws InterruptedException {
protected void createIndexWithRandomDocs(String indexName, int docCount) {
createIndex(indexName);
ensureGreen();
indexRandomDocs(indexName, docCount);
}

protected void indexRandomDocs(String index, int numdocs) throws InterruptedException {
protected void indexRandomDocs(String index, int numdocs) {
logger.info("--> indexing [{}] documents into [{}]", numdocs, index);
IndexRequestBuilder[] builders = new IndexRequestBuilder[numdocs];
for (int i = 0; i < builders.length; i++) {
Expand Down