LUCENE-6523: NRT readers now reflect a new commit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2015-07-04 22:15:01 +00:00
parent 3d8bfad40b
commit b3bc510c2b
1 changed files with 2 additions and 2 deletions

View File

@ -113,11 +113,11 @@ public class TestSearcherReuse extends SolrTestCaseJ4 {
assertSearcherHasNotChanged(expectedSearcher);
assertU(delQ("id:match_no_documents"));
assertU(commit());
assertU(commit("softCommit","true","openSearcher","true"));
assertSearcherHasNotChanged(expectedSearcher);
assertU(delI("0")); // no doc has this id, yet
assertU(commit("softCommit","true"));
assertU(commit("softCommit","true","openSearcher","true"));
assertSearcherHasNotChanged(expectedSearcher);
} finally {