Skip to content

Commit

Permalink
general cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Mar 20, 2024
1 parent 0059c99 commit 6b5bced
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/io/odh/test/platform/KFPv2Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ public PipelineRun waitForPipelineRun(String pipelineRunId) {

AtomicReference<PipelineRun> run = new AtomicReference<>();
TestUtils.waitFor("pipelineRun to complete", 5000, 10 * 60 * 1000, () -> {
HttpResponse<String> reply = null;
try {
reply = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
HttpResponse<String> reply = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
Assertions.assertEquals(reply.statusCode(), 200, reply.body());
run.set(objectMapper.readValue(reply.body(), PipelineRun.class));
String state = run.get().state;
Expand Down

0 comments on commit 6b5bced

Please sign in to comment.