Add sleep to arquillian-tests for when verifyApps isn't set
@@ -45,6 +45,7 @@ public class TransactionRestEndpointIT {
@Test
public void testDataExistsAtEndpoint() throws Exception {
+ Thread.sleep(10000);
URL endpoint = new URL("http://localhost:9080/myLibertyApp/api/transactions");
String body = readAllAndClose(endpoint.openStream());
int bodyLength = body.length();
@@ -53,6 +54,7 @@ public class TransactionRestEndpointIT {
@Test
public void testNewDataAddedToEndpoint() throws Exception {
+ Thread.sleep(10000);
String firstBody = readAllAndClose(new URL("http://localhost:9080/myLibertyApp/api/transactions").openStream());
int firstBodyLength = firstBody.length();
Thread.sleep(12000);
