mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 21:38:15 +00:00
The get_mapping tests were the wrong way around
This commit is contained in:
parent
a78781cdc6
commit
be8fad31cf
@ -24,7 +24,7 @@ setup:
|
||||
"Get type mapping - pre 0.90.2":
|
||||
|
||||
- skip:
|
||||
version: "0.90.2 - 999"
|
||||
version: "0.90.3 - 999"
|
||||
reason: "for newer versions the index name is always returned"
|
||||
|
||||
- do:
|
||||
@ -32,20 +32,20 @@ setup:
|
||||
index: test_index
|
||||
type: test_type
|
||||
|
||||
- match: {test_index.test_type.properties.text.type: string}
|
||||
- match: {test_index.test_type.properties.text.analyzer: whitespace}
|
||||
|
||||
---
|
||||
"Get type mapping - post 0.90.2":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.1"
|
||||
reason: "for older versions, just the type name is returned"
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
index: test_index
|
||||
type: test_type
|
||||
|
||||
- match: {test_type.properties.text.type: string}
|
||||
- match: {test_type.properties.text.analyzer: whitespace}
|
||||
|
||||
---
|
||||
"Get type mapping - post 0.90.2":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: "for older versions, just the type name is returned"
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
index: test_index
|
||||
type: test_type
|
||||
|
||||
- match: {test_index.test_type.properties.text.type: string}
|
||||
- match: {test_index.test_type.properties.text.analyzer: whitespace}
|
||||
|
Loading…
x
Reference in New Issue
Block a user