Skip to content

Commit 6fcf363

Browse files
committed
Fixing the new test (after syncing w/ develop) #10909
1 parent 6c95f82 commit 6fcf363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/edu/harvard/iq/dataverse/api/HarvestingClientsIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ private void harvestingClientRun(boolean allowHarvestingMissingCVV) throws Inte
260260
assertNotNull(clientStatus);
261261

262262
if ("inProgress".equals(clientStatus) || "IN PROGRESS".equals(responseJsonPath.getString("data.lastResult"))) {
263-
// we'll sleep for another second
263+
// we'll sleep for 2 more seconds
264264
i++;
265265
} else {
266266
logger.info("getClientResponse.prettyPrint: "
@@ -408,7 +408,7 @@ public void testHarvestingFromDatacite() throws InterruptedException {
408408
assertEquals("inActive", clientStatus, "Unexpected client status: "+clientStatus);
409409

410410
// b) Confirm that it has actually succeeded:
411-
assertEquals("SUCCESS", responseJsonPath.getString("data.lastResult"), "Last harvest not reported a success (took "+i+" seconds)");
411+
assertEquals("Completed", responseJsonPath.getString("data.lastResult"), "Last harvest not reported a success (took "+i+" seconds)");
412412
String harvestTimeStamp = responseJsonPath.getString("data.lastHarvest");
413413
assertNotNull(harvestTimeStamp);
414414

0 commit comments

Comments
 (0)