From e8b986cc37eaf54a9717ef0687daead670eba12c Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Thu, 4 Oct 2018 07:40:46 +0200 Subject: [PATCH] Fix sporadic failure in NestedObjectMapperTests Relates #34225 --- .../elasticsearch/index/mapper/NestedObjectMapperTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/test/java/org/elasticsearch/index/mapper/NestedObjectMapperTests.java b/server/src/test/java/org/elasticsearch/index/mapper/NestedObjectMapperTests.java index 6be0894186a..01bdcd362fc 100644 --- a/server/src/test/java/org/elasticsearch/index/mapper/NestedObjectMapperTests.java +++ b/server/src/test/java/org/elasticsearch/index/mapper/NestedObjectMapperTests.java @@ -650,8 +650,7 @@ public class NestedObjectMapperTests extends ESSingleNodeTestCase { .startObject("nested1").field("type", "nested").endObject() .endObject().endObject().endObject()); - Version bwcVersion = VersionUtils.randomVersionBetween(random(), Version.V_6_0_0, - Version.V_6_5_0); + Version bwcVersion = VersionUtils.randomVersionBetween(random(), Version.V_6_0_0, Version.V_6_4_0); for (Version version : new Version[] {Version.V_6_5_0, bwcVersion}) { DocumentMapper docMapper = createIndex("test-" + version, Settings.builder().put(IndexMetaData.SETTING_INDEX_VERSION_CREATED.getKey(), version).build())