SOLR-10396: Fix parsing exception in waitFor attribute

This commit is contained in:
Shalin Shekhar Mangar 2017-04-27 11:55:32 +05:30
parent ed864d1837
commit 4fccc59db8
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class NodeLostTriggerTest extends SolrCloudTestCase {
// remove a node but add it back before the waitFor period expires
// and assert that the trigger doesn't fire at all
try (NodeLostTrigger trigger = new NodeLostTrigger("node_lost_trigger", props, container)) {
final int waitTime = 2;
final long waitTime = 2;
props.put("waitFor", waitTime);
trigger.setListener(event -> fail("Did not expect the listener to fire on first run!"));
trigger.run();