Add a sleep to try and avoid sporadic fails
This commit is contained in:
@@ -22,9 +22,13 @@ public class ProxyApplicationTests {
|
||||
|
||||
@Test
|
||||
// See gh-53
|
||||
public void contextLoads() {
|
||||
public void contextLoads() throws Exception {
|
||||
int count = count();
|
||||
runAndClose();
|
||||
runAndClose();
|
||||
// Let the JVM catch up
|
||||
Thread.sleep(500L);
|
||||
runAndClose();
|
||||
int base = count();
|
||||
runAndClose();
|
||||
count = count();
|
||||
|
||||
Reference in New Issue
Block a user