Skip to content

Commit

Permalink
Merge pull request #9855 from IQSS/9848-tests
Browse files Browse the repository at this point in the history
get tests passing in Jenkins
  • Loading branch information
kcondon committed Aug 31, 2023
2 parents 8c4cf46 + 74f0c02 commit ed81893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public void testMoveDataverse() {
while (checkIndex) {
try {
try {
Thread.sleep(2000);
Thread.sleep(4000);
} catch (InterruptedException ex) {
}
Response search = UtilIT.search("id:dataverse_" + dataverseId + "&subtree=" + dataverseAlias2, apiToken);
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/edu/harvard/iq/dataverse/api/FilesIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ public void testAccessFacet() {
Response addResponse = UtilIT.uploadFileViaNative(datasetId.toString(), pathToFile, apiToken);

// Wait a little while for the index to pick up the file, otherwise timing issue with searching for it.
UtilIT.sleepForReindex(datasetId.toString(), apiToken, 2);
UtilIT.sleepForReindex(datasetId.toString(), apiToken, 4);

String successMsgAdd = BundleUtil.getStringFromBundle("file.addreplace.success.add");

Expand Down

0 comments on commit ed81893

Please sign in to comment.