Skip to content

Commit

Permalink
Rebase issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles-Garnsey committed Sep 21, 2023
2 parents 1616848 + 0613d1c commit 1f42dbc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1055,12 +1055,13 @@ public void testEnsureStatusChanges() throws Exception {
null);

logger.info("Sending repair request: {}", req);
URI repairUri = new URIBuilder(BASE_PATH_V2 + "repairs").build();
URI repairUri = new URIBuilder(BASE_PATH_V2 + "/repairs").build();
Pair<Integer, String> repairResp =
client
.put(repairUri.toURL(), new ObjectMapper().writeValueAsString(req))
.thenApply(this::responseAsCodeAndBody)
.join();
System.out.println("repairResp was " + repairResp);
String jobID =
new ObjectMapper().readValue(repairResp.getRight(), RepairRequestResponse.class).repairID;
Integer repairID =
Expand Down Expand Up @@ -1093,4 +1094,4 @@ public void testEnsureStatusChanges() throws Exception {
== com.datastax.mgmtapi.resources.models.Job.JobStatus.COMPLETED;
});
}
}
}

0 comments on commit 1f42dbc

Please sign in to comment.