mirror of https://github.com/apache/lucene.git
SOLR-12923: Harden TestSimTriggerIntegration.
This commit is contained in:
parent
7605427481
commit
3205491beb
|
@ -739,7 +739,7 @@ public class TestSimTriggerIntegration extends SimSolrCloudTestCase {
|
||||||
cluster.getTimeSource().sleep(10000);
|
cluster.getTimeSource().sleep(10000);
|
||||||
// kill overseer
|
// kill overseer
|
||||||
cluster.simRestartOverseer(null);
|
cluster.simRestartOverseer(null);
|
||||||
await = triggerFiredLatch.await(20000 / SPEED, TimeUnit.MILLISECONDS);
|
await = triggerFiredLatch.await(60000 / SPEED, TimeUnit.MILLISECONDS);
|
||||||
assertTrue("The trigger did not fire at all", await);
|
assertTrue("The trigger did not fire at all", await);
|
||||||
assertTrue(triggerFired.get());
|
assertTrue(triggerFired.get());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue