From cbe722d91709129f430a91dcbcdff24fc61e8dec Mon Sep 17 00:00:00 2001 From: Ping Xiao Date: Tue, 23 Jun 2020 14:22:42 +0800 Subject: [PATCH] add one case into regression --- tests/pytest/alter/alter_table_crash.py | 4 ++-- tests/pytest/regressiontest.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/pytest/alter/alter_table_crash.py b/tests/pytest/alter/alter_table_crash.py index 903bb60e6a..efa0ae1c37 100644 --- a/tests/pytest/alter/alter_table_crash.py +++ b/tests/pytest/alter/alter_table_crash.py @@ -72,11 +72,11 @@ class TDTestCase: tdDnodes.forcestop(1) tdDnodes.start(1) - tdSql.query("select * from st") + tdSql.query("select * from dt") tdSql.checkRows(0) def stop(self): - tdSql.close() + tdSql.close() tdLog.success("%s successfully executed" % __file__) tdCases.addWindows(__file__, TDTestCase()) diff --git a/tests/pytest/regressiontest.sh b/tests/pytest/regressiontest.sh index 0c248f3387..14b18e1acc 100755 --- a/tests/pytest/regressiontest.sh +++ b/tests/pytest/regressiontest.sh @@ -141,5 +141,7 @@ python3 ./test.py -f query/querySort.py python3 ./test.py -f stream/stream1.py python3 ./test.py -f stream/stream2.py +#alter table +python3 ./test.py -f alter/alter_table_crash.py -- GitLab