Skip to content

Commit

Permalink
Fix sporadic failure in NestedObjectMapperTests
Browse files Browse the repository at this point in the history
Relates #34225
  • Loading branch information
jimczi committed Oct 4, 2018
1 parent 81227dc commit e8b986c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,7 @@ public void testReorderParentBWC() throws IOException {
.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())
Expand Down

0 comments on commit e8b986c

Please sign in to comment.