diff --git a/solr/core/src/test/org/apache/solr/search/TestSearcherReuse.java b/solr/core/src/test/org/apache/solr/search/TestSearcherReuse.java index b47b03029f5..af64613a1b5 100644 --- a/solr/core/src/test/org/apache/solr/search/TestSearcherReuse.java +++ b/solr/core/src/test/org/apache/solr/search/TestSearcherReuse.java @@ -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 {