Skip to content

Commit ff6ef15

Browse files
authored
[TEST] Mute all tsdb tests in mixedClusterTests, for versions 8.7 - 8.10 (elastic#100805)
* Don't print synthetic source in mapping for bwc tests * Move comment. * Don't print synthetic source in mapping for bwc tests #2 * Don't print synthetic source in mapping for bwc tests #2 * Revert "Don't print synthetic source in mapping for bwc tests #2" This reverts commit 034262c. * Revert "Don't print synthetic source in mapping for bwc tests #2" This reverts commit 44e8156. * Revert "Don't print synthetic source in mapping for bwc tests (elastic#100572)" This reverts commit 9322ab9. * Exclude synthetic source test from mixedClusterTests * Update comment. * Mute all tsdb tests in mixedClusterTests This is an interim step to stop sporadic test failures, while we try to fix version skip for mixed cluster tests. * Remove old exclusion * Add aggregations too * Mute tests for versions between 8.7-8.10 * Remove mute
1 parent a295e7a commit ff6ef15

File tree

18 files changed

+80
-26
lines changed

18 files changed

+80
-26
lines changed

modules/aggregations/src/yamlRestTest/resources/rest-api-spec/test/aggregations/time_series.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
---
12
setup:
3+
- skip:
4+
version: "8.7.00 - 8.9.99"
5+
reason: "Synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
6+
27
- do:
38
indices.create:
49
index: tsdb

qa/mixed-cluster/build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ excludeList.add('aggregations/filter/Standard queries get cached')
4141
excludeList.add('aggregations/filter/Terms lookup gets cached')
4242
excludeList.add('aggregations/filters_bucket/cache hits')
4343

44-
// The test checks that tsdb mappings report source as synthetic.
45-
// It is supposed to be skipped (not needed) for versions before
46-
// 8.10 but mixed cluster tests may not respect that - see the
47-
// comment above.
48-
excludeList.add('tsdb/20_mapping/Synthetic source')
49-
5044
BuildParams.bwcVersions.withWireCompatible { bwcVersion, baseName ->
5145

5246
if (bwcVersion != VersionProperties.getElasticsearchVersion()) {

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/05_dimension_and_metric_in_non_tsdb_index.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
setup:
3+
- skip:
4+
version: "8.7.00 - 8.9.99"
5+
reason: "Synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
6+
7+
---
18
add time series mappings:
29
- skip:
310
version: " - 7.15.99"

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/100_composite.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
---
12
setup:
23
- skip:
3-
version: " - 8.1.99"
4-
reason: tsdb indexing changed in 8.2.0
4+
version: " - 8.1.99,8.7.00 - 8.9.99"
5+
reason: "tsdb indexing changed in 8.2.0, synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
56

67
- do:
78
indices.create:

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/10_settings.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
setup:
3+
- skip:
4+
version: "8.7.00 - 8.9.99"
5+
reason: "Synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
6+
7+
---
18
enable:
29
- skip:
310
version: " - 8.0.99"

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/110_field_caps.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
---
12
setup:
23
- skip:
3-
version: " - 8.4.99"
4-
reason: metric params only on time series indexes introduced in 8.5.0
4+
version: " - 8.4.99,8.7.00 - 8.9.99"
5+
reason: "metric params only on time series indexes introduced in 8.5.0, synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
56

67
- do:
78
indices.create:

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/130_position_fields.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
setup:
33
- skip:
4-
version: " - 8.7.99"
5-
reason: position metric introduced in 8.8.0
4+
version: "8.7.00 - 8.9.99"
5+
reason: "Synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
6+
67
- do:
78
indices.create:
89
index: locations

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/140_routing_path.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
---
2+
setup:
3+
- skip:
4+
version: " - 8.9.99"
5+
reason: "counter field support added in 8.10"
6+
features: close_to
7+
8+
---
19
missing routing path field:
210
- skip:
311
features: close_to

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/15_timestamp_mapping.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
setup:
3+
- skip:
4+
version: "8.7.00 - 8.9.99"
5+
reason: "Synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
16

27
---
38
date:

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/20_mapping.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
setup:
3+
- skip:
4+
version: "8.7.00 - 8.9.99"
5+
reason: "Synthetic source shows up in the mapping in 8.10 and on, may trigger assert failures in mixed cluster tests"
6+
7+
---
18
ecs style:
29
- skip:
310
version: " - 8.0.99"
@@ -417,10 +424,6 @@ nested fields:
417424

418425
---
419426
"Synthetic source":
420-
- skip:
421-
version: " - 8.9.99"
422-
reason: "Synthetic source shows up in the mapping in 8.10 and on"
423-
424427
- do:
425428
indices.create:
426429
index: tsdb-synthetic

0 commit comments

Comments
 (0)