Backport: enable searchable snapshots feature flag for xpack rest tests.

Backport of: #56569

A data stream test, which tests data stream resolvability in xpack apis failed in release builds.
A invocation of a searchable snapshot api failed, because the corresponding feature flag
wasn't enabled for xpack rest tests.

Closes #56531
This commit is contained in:
Martijn van Groningen 2020-05-12 12:18:24 +02:00 committed by GitHub
parent 222ee721ec
commit 2e86801f61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -154,6 +154,9 @@ testClusters.integTest {
extraConfigFile nodeKey.name, nodeKey
extraConfigFile nodeCert.name, nodeCert
extraConfigFile 'roles.yml', file('src/test/resources/roles.yml')
if (BuildParams.isSnapshotBuild() == false) {
systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
}
}
validateRestSpec {

View File

@ -1,7 +1,7 @@
---
"Verify data stream resolvability for xpack apis":
- skip:
version: " - 7.99.99"
version: " - 7.8.99"
reason: skip untill backported
- do: