Skip to content

Commit

Permalink
add 1 sec on failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed May 22, 2024
1 parent 139c833 commit b0f8223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/java/edu/harvard/iq/dataverse/api/LinkIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void testDeepLinks() {
.body("data.message", equalTo("Dataverse " + level2a + " linked successfully to " + level2b));

try {
Thread.sleep(3000);
Thread.sleep(4000);
} catch (InterruptedException ex) {
/**
* With solrconfig autoSoftCommit set to 1000 (1sec), this sleep is needed.
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/edu/harvard/iq/dataverse/api/SearchIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ public void testNestedSubtree() {
createDataverseResponse2.prettyPrint();
String dataverseAlias2 = UtilIT.getAliasFromResponse(createDataverseResponse2);
try {
Thread.sleep(2000);
Thread.sleep(3000);
} catch (InterruptedException ex) {
/**
* With solrconfig autoSoftCommit set to 1000 (1sec), this sleep is needed.
Expand Down Expand Up @@ -922,7 +922,7 @@ public void testCuratorCardDataversePopulation() throws InterruptedException {
String searchPart = "*";

try {
Thread.sleep(2000);
Thread.sleep(3000);
} catch (InterruptedException ex) {
/**
* With solrconfig autoSoftCommit set to 1000 (1sec), this sleep is needed.
Expand Down

0 comments on commit b0f8223

Please sign in to comment.