Skip to content

Commit 1674ce8

Browse files
Set correct version bounds for system features rest API tests (#81465) (#81607)
* Use correct version bounds for API test * Use correct version bounds for migration API test Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
1 parent d8df234 commit 1674ce8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/features.get_features/10_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Get Features":
33
- skip:
44
features: contains
5-
version: " - 7.99.99" # Adjust this after backport
5+
version: " - 7.11.99"
66
reason: "This API was added in 7.12.0"
77
- do: { features.get_features: {}}
88
- contains: {'features': {'name': 'tasks'}}

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/features.reset_features/10_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Get Features":
33
- skip:
44
features: contains
5-
version: " - 7.99.99" # Adjust this after backport
5+
version: " - 7.12.99"
66
reason: "This API was added in 7.13.0"
77
- do: { features.get_features: {}}
88
- contains: {'features': {'name': 'tasks'}}

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/migration/10_get_feature_upgrade_status.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"Get feature upgrade status":
22

33
- skip:
4-
version: " - 7.99.99"
5-
reason: "Not yet backported"
4+
version: " - 7.15.99"
5+
reason: "Endpoint added in 7.16.0"
66

77
- do:
88
migration.get_feature_upgrade_status: {}

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/migration/20_post_feature_upgrade.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"Get feature upgrade status":
22

33
- skip:
4-
version: " - 7.99.99"
5-
reason: "Not yet backported"
4+
version: " - 7.15.99"
5+
reason: "Endpoint added in 7.16.0"
66

77
- do:
88
migration.get_feature_upgrade_status: {}

0 commit comments

Comments
 (0)