From 52540cf3d2bf1a1bb4250cd129e4751c560de8a0 Mon Sep 17 00:00:00 2001 From: Yang Zhao Date: Tue, 19 Jul 2022 19:16:34 +0800 Subject: [PATCH] feat: taosbenchmark support cloud (#15137) * feat: taosbenchmark support cloud * chore: update taos-tools --- src/kit/taos-tools | 2 +- .../5-taos-tools/taosbenchmark/invalid_commandline.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kit/taos-tools b/src/kit/taos-tools index 0b8a3373bb..411bffe367 160000 --- a/src/kit/taos-tools +++ b/src/kit/taos-tools @@ -1 +1 @@ -Subproject commit 0b8a3373bb7548f8106d13e7d3b0a988d3c4d48a +Subproject commit 411bffe367ad5d6bc4cbe4475eb77324cf526816 diff --git a/tests/develop-test/5-taos-tools/taosbenchmark/invalid_commandline.py b/tests/develop-test/5-taos-tools/taosbenchmark/invalid_commandline.py index 3144252707..ebddff5643 100644 --- a/tests/develop-test/5-taos-tools/taosbenchmark/invalid_commandline.py +++ b/tests/develop-test/5-taos-tools/taosbenchmark/invalid_commandline.py @@ -62,19 +62,19 @@ class TDTestCase: tdLog.info("%s" % cmd) assert (os.system("%s" % cmd) != 0) - cmd = "%s -f non_exist_file" %binPath + cmd = "%s -f non_exist_file -y" %binPath tdLog.info("%s" % cmd) assert (os.system("%s" % cmd) != 0) - cmd = "%s -h non_exist_host" %binPath + cmd = "%s -h non_exist_host -y" %binPath tdLog.info("%s" % cmd) assert (os.system("%s" % cmd) != 0) - cmd = "%s -p non_exist_pass" %binPath + cmd = "%s -p non_exist_pass -y" %binPath tdLog.info("%s" % cmd) assert (os.system("%s" % cmd) != 0) - cmd = "%s -u non_exist_user" %binPath + cmd = "%s -u non_exist_user -y" %binPath tdLog.info("%s" % cmd) assert (os.system("%s" % cmd) != 0) @@ -88,4 +88,4 @@ class TDTestCase: tdCases.addWindows(__file__, TDTestCase()) -tdCases.addLinux(__file__, TDTestCase()) \ No newline at end of file +tdCases.addLinux(__file__, TDTestCase()) -- GitLab