Skip to content

Commit

Permalink
add sleep #7020
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jun 26, 2020
1 parent 57772f3 commit b32272c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/java/edu/harvard/iq/dataverse/api/FilesIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ public void testForceReplaceAndUpdate() {
}

@Test
public void test_007_ReplaceFileUnpublishedAndBadIds() {
public void test_007_ReplaceFileUnpublishedAndBadIds() throws InterruptedException {
msgt("test_007_ReplaceFileBadIds");

// Create user
Expand Down Expand Up @@ -741,7 +741,9 @@ public void test_007_ReplaceFileUnpublishedAndBadIds() {
.body("status", equalTo(AbstractApiBean.STATUS_ERROR))
.body("message", Matchers.startsWith(errMsgUnpublished))
;


sleep(1000); // 2 times

// -------------------------
// Publish dataset
// -------------------------
Expand Down

0 comments on commit b32272c

Please sign in to comment.