Skip to content

Commit 1acc6e1

Browse files
committed
Add needed sleep
1 parent c0cdce8 commit 1acc6e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/es/upv/i3m/grycap/im/InfrastructureManagerTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ public void testCreateAndDestroyAsyncInfrastructure() throws ImClientException {
143143
String uri = newInfrastructureUri.getUri();
144144
Assert.assertEquals(false, uri.isEmpty());
145145
String infId = newInfrastructureUri.getInfrastructureId();
146+
try {
147+
Thread.sleep(3000);
148+
} catch (Exception e) {
149+
}
146150
getIm().destroyInfrastructure(infId);
147151
}
148152

0 commit comments

Comments
 (0)