You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertTrue(UtilIT.sleepForLock(datasetId, "Ingest", apiToken, UtilIT.MAXIMUM_INGEST_LOCK_DURATION), "Failed test if Ingest Lock exceeds max duration " + pathToFile);
3328
3329
3329
3330
// upload a second file should fail since the limit is 1 file per dataset
assertTrue(UtilIT.sleepForLock(datasetId, "Ingest", apiToken, UtilIT.MAXIMUM_INGEST_LOCK_DURATION), "Failed test if Ingest Lock exceeds max duration " + pathToFile);
3349
3351
3350
3352
// Set limit back to 1 even though the number of files is 2
3351
3353
dv.setDatasetFileCountLimit(1);
@@ -3369,6 +3371,8 @@ public void testUploadFilesWithLimits() throws JsonParseException {
3369
3371
replaceFileResponse.then().assertThat()
3370
3372
.statusCode(OK.getStatusCode());
3371
3373
3374
+
assertTrue(UtilIT.sleepForLock(datasetId, "Ingest", apiToken, UtilIT.MAXIMUM_INGEST_LOCK_DURATION), "Failed test if Ingest Lock exceeds max duration " + pathToFile);
@@ -3380,6 +3384,8 @@ public void testUploadFilesWithLimits() throws JsonParseException {
3380
3384
uploadFileResponse.then().assertThat()
3381
3385
.statusCode(OK.getStatusCode());
3382
3386
3387
+
assertTrue(UtilIT.sleepForLock(datasetId, "Ingest", adminApiToken, UtilIT.MAXIMUM_INGEST_LOCK_DURATION), "Failed test if Ingest Lock exceeds max duration " + pathToFile);
0 commit comments