Fixed test

This commit is contained in:
Martijn van Groningen 2018-04-16 10:48:46 +02:00
parent a94b38b88e
commit c0d42e9cd1
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class FollowingEngineTests extends ESTestCase {
threadPool = new TestThreadPool("following-engine-tests");
index = new Index("index", "uuid");
shardId = new ShardId(index, 0);
primaryTerm.set(randomIntBetween(1, 8));
primaryTerm.set(randomLongBetween(1, Long.MAX_VALUE));
}
public void tearDown() throws Exception {