From 9a9e7fa53c1cb19d901087c1d25af7454f0d37bb Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Wed, 17 May 2023 16:57:34 +0800 Subject: [PATCH] test: add restore command print info --- tests/system-test/3-enterprise/restore/restoreBasic.py | 3 +++ tests/system-test/3-enterprise/restore/restoreVnode.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/system-test/3-enterprise/restore/restoreBasic.py b/tests/system-test/3-enterprise/restore/restoreBasic.py index af1df0e3f4..485f896f05 100644 --- a/tests/system-test/3-enterprise/restore/restoreBasic.py +++ b/tests/system-test/3-enterprise/restore/restoreBasic.py @@ -164,6 +164,7 @@ class RestoreBasic: # exec restore sql = f"restore vnode on dnode {index}" + tdLog.info(sql) tdSql.execute(sql) # check result @@ -191,6 +192,7 @@ class RestoreBasic: # exec restore sql = f"restore mnode on dnode {index}" + tdLog.info(sql) tdSql.execute(sql) self.check_corrent() @@ -217,6 +219,7 @@ class RestoreBasic: # exec restore sql = f"restore qnode on dnode {index}" + tdLog.info(sql) tdSql.execute(sql) self.check_corrent() diff --git a/tests/system-test/3-enterprise/restore/restoreVnode.py b/tests/system-test/3-enterprise/restore/restoreVnode.py index 57e95e34c3..9f5b7f5606 100644 --- a/tests/system-test/3-enterprise/restore/restoreVnode.py +++ b/tests/system-test/3-enterprise/restore/restoreVnode.py @@ -30,7 +30,7 @@ class TDTestCase: # run def run(self): - self.basic.restore_dnode(4) + self.basic.restore_vnode(4) # stop def stop(self): -- GitLab