Skip to content

Commit 021144c

Browse files
committed
fix flaky test
1 parent f8b753f commit 021144c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3375,10 +3375,6 @@ public void testUploadFilesWithLimits() throws JsonParseException {
33753375

33763376
// Superuser file uploads can exceed the limit!
33773377
pathToFile = "scripts/search/data/tabular/stata13-auto.dta";
3378-
uploadFileResponse = UtilIT.uploadFileViaNative(datasetId.toString(), pathToFile, apiToken);
3379-
uploadFileResponse.prettyPrint();
3380-
uploadFileResponse.then().assertThat()
3381-
.statusCode(BAD_REQUEST.getStatusCode());
33823378
uploadFileResponse = UtilIT.uploadFileViaNative(datasetId.toString(), pathToFile, adminApiToken);
33833379
uploadFileResponse.prettyPrint();
33843380
uploadFileResponse.then().assertThat()

0 commit comments

Comments
 (0)