diff --git a/tests/pytest/insert/insertFromCSV.py b/tests/pytest/insert/insertFromCSV.py index 0fb4992e3aec9367a85b1dbf65274df251146daf..ed21072dcad3cb91898273c5368567c839b54049 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()