Skip to content

Commit e1e453c

Browse files
committed
Fixed test
1 parent 5f0c2a8 commit e1e453c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/index/engine/FollowingEngineTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void setUp() throws Exception {
7070
threadPool = new TestThreadPool("following-engine-tests");
7171
index = new Index("index", "uuid");
7272
shardId = new ShardId(index, 0);
73-
primaryTerm.set(randomIntBetween(1, 8));
73+
primaryTerm.set(randomLongBetween(1, Long.MAX_VALUE));
7474
}
7575

7676
public void tearDown() throws Exception {

0 commit comments

Comments
 (0)