Skip to content

Commit

Permalink
revive remote cluster state auto restore integ tests
Browse files Browse the repository at this point in the history
Signed-off-by: bansvaru <[email protected]>
  • Loading branch information
linuxpi committed Oct 9, 2023
1 parent 8bb11a6 commit 921dba9
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 161 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ protected Settings remoteStoreIndexSettings(int numberOfReplicas, long totalFiel
@After
public void teardown() {
clusterSettingsSuppliedByTest = false;
if (internalCluster().getNodeNames().length == 0) {
return;
}
assertRemoteStoreRepositoryOnAllNodes(REPOSITORY_NAME);
assertRemoteStoreRepositoryOnAllNodes(REPOSITORY_2_NAME);
clusterAdmin().prepareCleanupRepository(REPOSITORY_NAME).get();
Expand Down
Loading

0 comments on commit 921dba9

Please sign in to comment.