diff --git a/management-api-server/src/test/java/com/datastax/mgmtapi/NonDestructiveOpsIT.java b/management-api-server/src/test/java/com/datastax/mgmtapi/NonDestructiveOpsIT.java index 49ae05bf..ccb7feca 100644 --- a/management-api-server/src/test/java/com/datastax/mgmtapi/NonDestructiveOpsIT.java +++ b/management-api-server/src/test/java/com/datastax/mgmtapi/NonDestructiveOpsIT.java @@ -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 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 = @@ -1093,4 +1094,4 @@ public void testEnsureStatusChanges() throws Exception { == com.datastax.mgmtapi.resources.models.Job.JobStatus.COMPLETED; }); } -} \ No newline at end of file +}