mirror of https://github.com/apache/lucene.git
SOLR-11054: Revert the last commit since we found a test failure
This commit is contained in:
parent
d7379f1dd2
commit
ea76351419
|
@ -152,12 +152,6 @@ public class SoftAutoCommitTest extends AbstractSolrTestCase {
|
||||||
minHardCommitNanos + "ns",
|
minHardCommitNanos + "ns",
|
||||||
minHardCommitNanos < firstHardNanos);
|
minHardCommitNanos < firstHardNanos);
|
||||||
|
|
||||||
final Long firstSearcherNanos = monitor.searcher.poll(5000, MILLISECONDS);
|
|
||||||
assertNotNull("didn't get a single new searcher", firstSearcherNanos);
|
|
||||||
for (int i = 0; i <= softCommitMaxDocs; i++) {
|
|
||||||
assertQ("should find one", req("id:"+(8000 + i)) ,"//result[@numFound=1]" );
|
|
||||||
}
|
|
||||||
|
|
||||||
// wait a bit, w/o other action we shouldn't see any new hard/soft commits
|
// wait a bit, w/o other action we shouldn't see any new hard/soft commits
|
||||||
assertNull("Got a hard commit we weren't expecting",
|
assertNull("Got a hard commit we weren't expecting",
|
||||||
monitor.hard.poll(1000, MILLISECONDS));
|
monitor.hard.poll(1000, MILLISECONDS));
|
||||||
|
|
Loading…
Reference in New Issue