Prechádzať zdrojové kódy

Enable the failure store feature flag for non-snapshot docs tests (#102323)

* Enable the failure store feature flag for docs tests when building a non-snapshot version

* remove comment
James Baiera 1 rok pred
rodič
commit
1024ebd025
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      docs/build.gradle

+ 3 - 0
docs/build.gradle

@@ -72,6 +72,9 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
     setting 'xpack.license.self_generated.type', 'trial'
     setting 'indices.lifecycle.history_index_enabled', 'false'
     keystorePassword 'keystore-password'
+    if (BuildParams.isSnapshotBuild() == false) {
+      requiresFeature 'es.failure_store_feature_flag_enabled', new Version(8, 12, 0)
+    }
   }
 
   // debug ccr test failures: