SOLR-10278: testMoveReplica should call suggester.getOperation more than once

This commit is contained in:
Shalin Shekhar Mangar 2017-05-02 16:49:15 +05:30
parent ddc7425660
commit c1bdd8de6e
1 changed files with 4 additions and 1 deletions

View File

@ -271,7 +271,10 @@ public class TestPolicy extends SolrTestCaseJ4 {
.hint(Policy.Suggester.Hint.TARGET_NODE, "127.0.0.1:60099_solr");
Map op = suggester.getOperation();
assertNotNull(op);
session = suggester.getSession();
suggester = session.getSuggester(MOVEREPLICA).hint(Hint.TARGET_NODE, "127.0.0.1:60099_solr");
op = suggester.getOperation();
assertNotNull(op);
}
/* public void testOtherTag(){