Skip to content

Commit 91cbae5

Browse files
author
DenverM80
committed
fix enum comparison
1 parent 15f740b commit 91cbae5

File tree

1 file changed

+1
-1
lines changed
  • ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/test/helpers

1 file changed

+1
-1
lines changed

ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/test/helpers/JobStatusHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static JobStatus getJobStatusWithRetries(final Ds3Client client,
4545
final GetJobSpectraS3Request getJobSpectraS3Request = new GetJobSpectraS3Request(jobId);
4646
for (int retry = 0; retry < MAX_RETRIES; retry++) {
4747
actualStatus = client.getJobSpectraS3(getJobSpectraS3Request).getMasterObjectListResult().getStatus();
48-
if (actualStatus.equals(expectedStatus)) {
48+
if (actualStatus == expectedStatus) {
4949
LOG.info("Found expected JobStatus " + expectedStatus + " after " + retry*POLLING_PERIOD_MILLIS + " millis.");
5050
break;
5151
}

0 commit comments

Comments
 (0)