Skip to content

Commit

Permalink
Merge pull request #5831 from IQSS/5826-restassured-bandaid-fix
Browse files Browse the repository at this point in the history
another sleep call in the RA tests. (#5826)
  • Loading branch information
kcondon authored May 9, 2019
2 parents b4d7210 + 82f7704 commit 07c05b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/edu/harvard/iq/dataverse/api/DatasetsIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,11 @@ public void testSequentialNumberAsIdentifierGenerationStyle() {
String numericPart = identifier.replace("FK2/", ""); //remove shoulder from identifier
assertTrue(StringUtils.isNumeric(numericPart));

try {
Thread.sleep(3000l);
} catch (Exception ex) {logger.warning("failed to execute sleep 3 sec.");}


Response deleteDatasetResponse = UtilIT.deleteDatasetViaNativeApi(datasetId, apiToken);
deleteDatasetResponse.prettyPrint();
assertEquals(200, deleteDatasetResponse.getStatusCode());
Expand Down

0 comments on commit 07c05b4

Please sign in to comment.