Skip to content

Commit 086c73f

Browse files
committed
[TEST] Change was introduced in 1.6 not 1.5 - fix conditional
1 parent 8378f98 commit 086c73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/elasticsearch/indices/store/IndicesStoreTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public void testShardActiveRequestStreaming() throws IOException {
210210
IndicesStore.ShardActiveRequest readShardActiveRequest = new IndicesStore.ShardActiveRequest();
211211
readShardActiveRequest.readFrom(in);
212212
in.close();
213-
if (version.onOrAfter(Version.V_1_5_0)) {
213+
if (version.onOrAfter(Version.V_1_6_0)) {
214214
assertThat(shardActiveRequest.timeout, equalTo(readShardActiveRequest.timeout));
215215
} else {
216216
assertThat(readShardActiveRequest.timeout, equalTo(IndicesStore.DEFAULT_SHARD_DELETE_TIMEOUT));

0 commit comments

Comments
 (0)