From ef5db1e1fffddb700da173dbf53b44a724661c8f Mon Sep 17 00:00:00 2001
From: jimingquan <mingquan.ji@vesoft.com>
Date: Thu, 8 Apr 2021 17:28:04 +0800
Subject: [PATCH] Check type of index (#933)

---
 tests/tck/features/index/TagEdgeIndex.feature | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/tck/features/index/TagEdgeIndex.feature b/tests/tck/features/index/TagEdgeIndex.feature
index f49f0ed0..626ef139 100644
--- a/tests/tck/features/index/TagEdgeIndex.feature
+++ b/tests/tck/features/index/TagEdgeIndex.feature
@@ -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
@@ -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
-- 
GitLab