Skip to content

Commit

Permalink
Check type of index (vesoft-inc#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed Apr 8, 2021
1 parent faeedde commit ef5db1e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/tck/features/index/TagEdgeIndex.feature
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ Feature: tag and edge index tests from pytest
SHOW CREATE TAG INDEX non_existent_tag_index
"""
Then an ExecutionError should be raised at runtime.
When executing query:
"""
SHOW CREATE EDGE INDEX disorder_tag_index
"""
Then an ExecutionError should be raised at runtime.
When executing query:
"""
SHOW TAG INDEXES
Expand Down Expand Up @@ -403,6 +408,11 @@ Feature: tag and edge index tests from pytest
Then the result should be, in any order:
| Edge Index Name | Create Edge Index |
| 'single_edge_index' | 'CREATE EDGE INDEX `single_edge_index` ON `edge_1` (\n `col2`\n)' |
When executing query:
"""
SHOW CREATE TAG INDEX single_edge_index
"""
Then an ExecutionError should be raised at runtime.
When executing query:
"""
SHOW CREATE EDGE INDEX multi_edge_index
Expand Down

0 comments on commit ef5db1e

Please sign in to comment.