Skip to content

Commit a6743da

Browse files
authored
Reenable bwc tests (#43872)
This reenables the BWC tests disabled in #43856
1 parent 546c317 commit a6743da

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ task verifyVersions {
160160
* after the backport of the backcompat code is complete.
161161
*/
162162

163-
boolean bwc_tests_enabled = false
164-
final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/43823" /* place a PR link here when committing bwc changes */
163+
boolean bwc_tests_enabled = true
164+
final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
165165
if (bwc_tests_enabled == false) {
166166
if (bwc_tests_disabled_issue.isEmpty()) {
167167
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")

rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ setup:
8181
---
8282
"Translog stats on closed indices":
8383
- skip:
84-
version: " - 7.9.99"
85-
reason: "closed indices have translog stats starting version 8.0.0"
84+
version: " - 7.2.99"
85+
reason: "closed indices have translog stats starting version 7.3.0"
8686

8787
- do:
8888
index:
@@ -111,6 +111,7 @@ setup:
111111
- do:
112112
indices.close:
113113
index: test
114+
wait_for_active_shards: 1
114115
- is_true: acknowledged
115116

116117
- do:

x-pack/plugin/src/test/resources/rest-api-spec/test/indices.freeze/20_stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ setup:
1010
---
1111
"Translog stats on frozen indices":
1212
- skip:
13-
version: " - 7.9.99"
14-
reason: "frozen indices have translog stats starting version 8.0.0"
13+
version: " - 7.2.99"
14+
reason: "frozen indices have translog stats starting version 7.3.0"
1515

1616
- do:
1717
index:

0 commit comments

Comments
 (0)