mirror of https://github.com/apache/activemq.git
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:
parent
cc849e7440
commit
b9334960e0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue