Skip to content

Commit

Permalink
fix jobStatus tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emerkle826 committed Oct 12, 2023
1 parent da42b1a commit 2f15d16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ public void testAsyncRepair() throws IOException, URISyntaxException, Interrupte
.readValue(getJobDetailsResponse.getRight(), new TypeReference<Job>() {});
assertThat(jobDetails.getJobId()).isEqualTo(jobId);
assertThat(jobDetails.getJobType()).isEqualTo("repair");
assertThat(jobDetails.getStatus()).isIn("COMPLETED", "ERROR");
assertThat(jobDetails.getStatus().toString()).isIn("COMPLETED", "ERROR");
});
}

Expand Down Expand Up @@ -1020,7 +1020,7 @@ public void testMoveNode() throws IOException, URISyntaxException {
.readValue(getJobDetailsResponse.getRight(), new TypeReference<Job>() {});
assertThat(jobDetails.getJobId()).isEqualTo(jobId);
assertThat(jobDetails.getJobType()).isEqualTo("move");
assertThat(jobDetails.getStatus()).isIn("COMPLETED", "ERROR");
assertThat(jobDetails.getStatus().toString()).isIn("COMPLETED", "ERROR");
});
}
}

0 comments on commit 2f15d16

Please sign in to comment.