Skip to content

Commit

Permalink
force cluster manager
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Mierzwa <[email protected]>
  • Loading branch information
MaciejMierzwa committed Nov 7, 2023
1 parent 3fccf57 commit 168eeaf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,12 @@ public static void createTestData() {
@Before
public void retrieveClusterClient() {
this.internalClient = cluster.getInternalNodeClient();
cluster.setPrimaryNode("cluster_manager_0");
}

@After
public void cleanData() throws ExecutionException, InterruptedException {
cluster.setPrimaryNode(null);
Stopwatch stopwatch = Stopwatch.createStarted();
IndicesAdminClient indices = internalClient.admin().indices();
List<String> indicesToBeDeleted = List.of(
Expand Down

0 comments on commit 168eeaf

Please sign in to comment.