From 35cc2014e226408d3cbbc8b6d1473de2df40f6f5 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 21 Oct 2021 17:21:02 -0400 Subject: [PATCH] Add tsdb feature flag to xpack restart tests (#79648) These tests want to create a tsdb index as well so they need the feature flag when run in non-snapshot mode. --- x-pack/qa/full-cluster-restart/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/qa/full-cluster-restart/build.gradle b/x-pack/qa/full-cluster-restart/build.gradle index d02c75afeb917..6ec22d5a47c93 100644 --- a/x-pack/qa/full-cluster-restart/build.gradle +++ b/x-pack/qa/full-cluster-restart/build.gradle @@ -55,6 +55,9 @@ BuildParams.bwcVersions.withIndexCompatiple { bwcVersion, baseName -> keystore 'xpack.security.transport.ssl.secure_key_passphrase', 'testnode' setting 'xpack.security.authc.api_key.enabled', 'true' + if (BuildParams.isSnapshotBuild() == false) { + systemProperty 'es.index_mode_feature_flag_registered', 'true' + } } tasks.register("${baseName}#oldClusterTest", StandaloneRestIntegTestTask) {