SOLR-12801: Don't possibly block forever in this test.

This commit is contained in:
markrmiller 2018-12-01 08:58:13 -06:00
parent 755044b58f
commit cbe9f82202
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class TestSimDistributedQueue extends SolrTestCaseJ4 {
// should block until the background thread makes the offer
(new QueueChangerThread(dq, 1000)).start();
assertNotNull(dq.peek(true));
assertNotNull(dq.peek(15000));
assertNotNull(dq.remove());
assertNull(dq.poll());