From a8e191a7487d278308fb39277a083e75de80ec02 Mon Sep 17 00:00:00 2001 From: Ping Xiao Date: Mon, 6 Jun 2022 18:05:57 +0800 Subject: [PATCH] test: update test case --- tests/pytest/insert/insertFromCSV.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/pytest/insert/insertFromCSV.py b/tests/pytest/insert/insertFromCSV.py index 0fb4992e3a..ed21072dca 100644 --- a/tests/pytest/insert/insertFromCSV.py +++ b/tests/pytest/insert/insertFromCSV.py @@ -64,11 +64,7 @@ class TDTestCase: tdSql.query("select * from stb") tdSql.checkRows(self.rows * 2) - tdSql.execute("insert into t4 using stb tags(2, 'test2') file '%s' t5 using stb(t1) tags(5) file '%s'" % (self.csvfile, self.csvfile)) - tdSql.query("select * from t4") - tdSql.checkRows(self.rows) - tdSql.query("select * from t5") - tdSql.checkRows(self.rows) + tdSql.error("insert into t4 using stb tags(2, 'test2') file '%s' t5 using stb(t1) tags(5) file '%s'" % (self.csvfile, self.csvfile)) def stop(self): tdSql.close() -- GitLab