Increase timeout in testCleanUpShardFollowTasksForDeletedIndices (#64562)

If the deleted index has N shards, then ShardFollowTaskCleaner can send 
N*(N-1)/2 requests to remove N shard-follow tasks. I think that's fine
as the implementation is straightforward. The test failed when the
deleted index has 8 shards. This commit increases the timeout in the
test.

Closes #64311
This commit is contained in:
Nhat Nguyen 2020-11-04 08:21:35 -05:00
parent 207e4b00f9
commit aa0e3f85e6
1 changed files with 1 additions and 1 deletions

View File

@ -1389,7 +1389,7 @@ public class IndexFollowingIT extends CcrIntegTestCase {
String action = ShardFollowTask.NAME + "[c]";
ListTasksResponse listTasksResponse = followerClient().admin().cluster().prepareListTasks().setActions(action).get();
assertThat(listTasksResponse.getTasks(), hasSize(0));
});
}, 60, TimeUnit.SECONDS);
ensureNoCcrTasks();
}