Skip to content

Commit 2e86801

Browse files
authored
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
1 parent 222ee72 commit 2e86801

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

x-pack/plugin/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ testClusters.integTest {
154154
extraConfigFile nodeKey.name, nodeKey
155155
extraConfigFile nodeCert.name, nodeCert
156156
extraConfigFile 'roles.yml', file('src/test/resources/roles.yml')
157+
if (BuildParams.isSnapshotBuild() == false) {
158+
systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
159+
}
157160
}
158161

159162
validateRestSpec {

x-pack/plugin/src/test/resources/rest-api-spec/test/data_stream/10_data_stream_resolvability.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
"Verify data stream resolvability for xpack apis":
33
- skip:
4-
version: " - 7.99.99"
4+
version: " - 7.8.99"
55
reason: skip untill backported
66

77
- do:

0 commit comments

Comments
 (0)