Browse Source

Set missing feature flag in searchable snapshots QA Azure test (#54861)

Tanguy Leroux 5 years ago
parent
commit
87ea3f33bb
1 changed files with 5 additions and 1 deletions
  1. 5 1
      x-pack/plugin/searchable-snapshots/qa/azure/build.gradle

+ 5 - 1
x-pack/plugin/searchable-snapshots/qa/azure/build.gradle

@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
+import org.elasticsearch.gradle.info.BuildParams
 import static org.elasticsearch.gradle.PropertyNormalization.IGNORE_VALUE
 
 apply plugin: 'elasticsearch.standalone-rest-test'
@@ -73,6 +73,10 @@ testClusters.integTest {
   testDistribution = 'DEFAULT'
   plugin file(repositoryPlugin.bundlePlugin.archiveFile)
 
+  if (BuildParams.isSnapshotBuild() == false) {
+    systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
+  }
+
   keystore 'azure.client.searchable_snapshots.account', azureAccount
   keystore 'azure.client.searchable_snapshots.key', azureKey
   keystore 'azure.client.searchable_snapshots.sas_token', azureSasToken