Add some additional time to the wait for completion assert. On a

sufficiently loaded system 30s is not quite enough.  This is
reproducable if run while a heavily I/O based application is also
running in the background.
This commit is contained in:
Timothy Bish 2016-05-13 12:50:13 -04:00
parent cc849e7440
commit b9334960e0
1 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ public abstract class PListTestSupport {
executor.execute(new B());
executor.shutdown();
boolean finishedInTime = executor.awaitTermination(30, TimeUnit.SECONDS);
boolean finishedInTime = executor.awaitTermination(60, TimeUnit.SECONDS);
assertTrue("no exceptions", exceptions.isEmpty());
assertTrue("finished ok", finishedInTime);