e72d287382
The SharedClusterSnapshotRestoreIT#testDataFileCorruptionDuringRestore would fail sporadically because it tried to simulate restoring a corrupted index. The test would wait until the restore is finished (and marked as failed) before exiting. However, in the background, the cluster still continues to retry allocation of the failed shards, despite the restore operation being marked as completed, which in turn generates cluster states to process. The end of every ESIntegTestCase verifies that none of the nodes have any pending cluster states to process. Hence, this check sometimes fails on this particular test. This commit solves the issue by ensuring the index is deleted before exiting the test. |
||
---|---|---|
.. | ||
licenses | ||
src | ||
build.gradle |