Skip to content

Commit 4599490

Browse files
committed
Updated test
1 parent 7dbfbcd commit 4599490

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

test/integration/index.js

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,39 @@ const yamlFolder = join(esFolder, 'rest-api-spec', 'src', 'main', 'resources', '
3535
const xPackYamlFolder = join(esFolder, 'x-pack', 'plugin', 'src', 'test', 'resources', 'rest-api-spec', 'test')
3636
const customSkips = [
3737
// fails with ES5 with x-pack enabled
38+
'cat.allocation/10_basic.yaml',
39+
'cat.indices/10_basic.yaml',
3840
'cat.shards/10_basic.yaml',
3941
// fails with ES5,`repository` is a required field
4042
'cat.snapshots/10_basic.yaml',
4143
// fails with ES5 with x-pack enabled
4244
'cat.templates/10_basic.yaml',
45+
'cluster.health/20_request_timeout.yaml',
46+
'delete/11_shard_header.yaml',
47+
'delete/45_parent_with_routing.yaml',
48+
'delete/50_refresh.yaml',
49+
'exists/40_routing.yaml',
50+
'exists/55_parent_with_routing.yaml',
51+
'get/55_parent_with_routing.yaml',
4352
'get_source/55_parent_with_routing.yaml',
53+
'indices.get_mapping/50_wildcard_expansion.yaml',
54+
'indices.flush/10_basic.yaml',
55+
'indices.open/10_basic.yaml',
56+
'indices.open/20_multiple_indices.yaml',
57+
'indices.stats/10_index.yaml',
58+
'indices.shard_stores/10_basic.yaml',
59+
'indices.segments/10_basic.yaml',
60+
'mget/40_routing.yaml',
61+
'mlt/20_docs.yaml',
4462
'search/10_source_filtering.yaml',
45-
'delete/50_refresh.yaml',
63+
'search/140_pre_filter_search_shards.yml',
64+
'search.aggregation/10_histogram.yaml',
65+
'search.aggregation/20_terms.yaml',
66+
'search.aggregation/40_range.yaml',
67+
'search.aggregation/50_filter.yaml',
68+
'search.highlight/30_fvh.yml',
69+
'update/11_shard_header.yaml',
70+
'update/55_parent_with_routing.yaml',
4671
// skipping because we are booting ES with `discovery.type=single-node`
4772
// and this test will fail because of this configuration
4873
'nodes.stats/30_discovery.yml',

test/unit/api-async.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function runAsyncTest (test) {
6666
try {
6767
await client.index({
6868
index: 'test',
69+
type: 'test',
6970
body: { foo: 'bar' }
7071
})
7172
t.pass('ok')

0 commit comments

Comments
 (0)