Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

check type of index #933

Merged
merged 1 commit into from
Apr 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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