diff --git a/tests/army/tools/benchmark/basic/commandline-retry.py b/tests/army/tools/benchmark/basic/commandline-retry.py index 869532ba92..dc35771f90 100644 --- a/tests/army/tools/benchmark/basic/commandline-retry.py +++ b/tests/army/tools/benchmark/basic/commandline-retry.py @@ -40,9 +40,9 @@ class TDTestCase(TBase): tdLog.info("%s" % cmd) os.system("%s" % cmd) time.sleep(2) - tdDnodes.stopAll() + sc.dnodeStopAll() time.sleep(2) - tdDnodes.start(1) + sc.dnodeStart(1) time.sleep(2) psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'" diff --git a/tests/army/tools/benchmark/basic/taosc_insert-retry-json-global.py b/tests/army/tools/benchmark/basic/taosc_insert-retry-json-global.py index a6761b83b0..3c862afad7 100644 --- a/tests/army/tools/benchmark/basic/taosc_insert-retry-json-global.py +++ b/tests/army/tools/benchmark/basic/taosc_insert-retry-json-global.py @@ -36,9 +36,9 @@ class TDTestCase(TBase): tdLog.info("%s" % cmd) os.system("%s" % cmd) time.sleep(2) - tdDnodes.stopAll() + sc.dnodeStopAll() time.sleep(2) - tdDnodes.start(1) + sc.dnodeStart(1) time.sleep(2) psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'" diff --git a/tests/army/tools/benchmark/basic/taosc_insert-retry-json-stb.py b/tests/army/tools/benchmark/basic/taosc_insert-retry-json-stb.py index 1072a4b410..e0f070320d 100644 --- a/tests/army/tools/benchmark/basic/taosc_insert-retry-json-stb.py +++ b/tests/army/tools/benchmark/basic/taosc_insert-retry-json-stb.py @@ -36,9 +36,9 @@ class TDTestCase(TBase): tdLog.info("%s" % cmd) os.system("%s" % cmd) time.sleep(2) - tdDnodes.stopAll() + sc.dnodeStopAll() time.sleep(2) - tdDnodes.start(1) + sc.dnodeStart(1) time.sleep(2) psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'" diff --git a/tests/army/tools/runcase.sh b/tests/army/tools/runcase.sh index 46e1480606..5683485bca 100644 --- a/tests/army/tools/runcase.sh +++ b/tests/army/tools/runcase.sh @@ -1,7 +1,7 @@ set -e count=0 for i in `find tools/benchmark/basic/ -name "*.py"` - do printf "cnt=$count python3 test.py -f $i \n" + do printf "\n\n ***** cnt=$count python3 test.py -f $i *****\n\n" python3 test.py -f $i ((count=count+1)) done