test: Remove version randomization from the parent child test. The <= 1.x impl has been removed, so no need to test it any more in master.

Original commit: elastic/x-pack-elasticsearch@2633349d02
This commit is contained in:
Martijn van Groningen 2015-09-09 17:50:54 +02:00
parent 154b10e901
commit 8511d56a83
1 changed files with 0 additions and 7 deletions

View File

@ -715,14 +715,7 @@ public class FieldLevelSecurityTests extends ShieldIntegTestCase {
}
public void testParentChild() {
// There are two parent/child impls:
// pre 2.0 parent/child uses the _uid and _parent fields
// 2.0 and beyond parent/child uses dedicated doc values join fields
// Both impls need to be tested with field level security, so that is why the index version is randomized here.
Version version = randomFrom(Version.V_1_7_2, Version.CURRENT);
logger.info("Testing parent/child with field level security on an index created with version[{}]", version);
assertAcked(prepareCreate("test")
.setSettings(Settings.builder().put(IndexMetaData.SETTING_VERSION_CREATED, version))
.addMapping("parent")
.addMapping("child", "_parent", "type=parent"));
ensureGreen();