Skip to content

Commit

Permalink
cleanup instance (#2879)
Browse files Browse the repository at this point in the history
Fix flaky test getAllInstances - clean up added instances
  • Loading branch information
GrantPSpencer authored Aug 9, 2024
1 parent bb29cec commit 5188f79
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,9 @@ public void updateInstance() throws Exception {
Assert.assertEquals(response.getStatus(), Response.Status.OK.getStatusCode());
Assert.assertTrue(evacuateFinishedResult.get("successful"));

// Remove instance created for evacuate test
delete("clusters/" + CLUSTER_NAME + "/instances/" + test_instance_name, Response.Status.OK.getStatusCode());

// test setPartitionsToError
List<String> partitionsToSetToError = Arrays.asList(CLUSTER_NAME + dbName + "7");

Expand Down

0 comments on commit 5188f79

Please sign in to comment.