Skip to content

Commit 27bd1a0

Browse files
authored
Add incompatible yaml tests to skip list (#398) (#399)
* Add incompatible yaml tests to skip list * Update skip lists with wrongly identified list instead of maps
1 parent b0e1f6e commit 27bd1a0

File tree

1 file changed

+17
-2
lines changed
  • internal/build/cmd/generate/commands/gentests

1 file changed

+17
-2
lines changed

internal/build/cmd/generate/commands/gentests/skips.go

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ package gentests
1919

2020
import (
2121
"fmt"
22-
"strings"
23-
2422
"gopkg.in/yaml.v2"
23+
"strings"
2524
)
2625

2726
var skipTests map[string][]string
@@ -51,6 +50,7 @@ var skipFiles = []string{
5150

5251
"indices.stats/50_disk_usage.yml", // Needs a replacement mechanism implementation
5352
"indices.stats/60_field_usage.yml", // Needs a replacement mechanism implementation
53+
"eql/10_basic.yml",
5454
}
5555

5656
// TODO: Comments into descriptions for `Skip()`
@@ -91,6 +91,15 @@ nodes.stats/30_discovery.yml:
9191
nodes.discovery/30_discovery.yml:
9292
- Discovery stats
9393
94+
# wrongly assumed as []interface{} where these should be map[string]interface{}
95+
data_stream/150_tsdb.yml:
96+
eql/20_runtime_mappings.yml:
97+
- Execute EQL events query with search time keyword runtime field
98+
- Execute EQL events query with search time ip runtime field
99+
spatial/60_geo_line.yml:
100+
- Test geo_line aggregation on geo points
101+
- Test empty buckets
102+
94103
# Arbitrary key
95104
indices.shrink/10_basic.yml:
96105
indices.shrink/20_source_mapping.yml:
@@ -152,6 +161,10 @@ search/issue9606.yml:
152161
bulk/80_cas.yml:
153162
bulk/81_cas_with_types.yml:
154163
164+
# Incompatible variable replacement
165+
tsdb/150_tsdb.yml:
166+
-
167+
155168
# Incompatible to date with test runner
156169
tsdb/80_index_resize.yml:
157170
- shrink
@@ -301,6 +314,8 @@ ml/explain_data_frame_analytics.yml:
301314
runtime_fields/10_keyword.yml:
302315
- docvalue_fields
303316
- fetch fields
317+
vector-tile/10_basic.yml:
318+
vector-tile/20_aggregations.yml:
304319
305320
# Test uses "n" as a property name, which is parsed as 'false' in the Go YAML library;
306321
search.aggregation/10_histogram.yml:

0 commit comments

Comments
 (0)