fix: replace tdDnodes with sc
This commit is contained in:
parent
ddee6b86bf
commit
f3b56c67ed
|
@ -40,9 +40,9 @@ class TDTestCase(TBase):
|
||||||
tdLog.info("%s" % cmd)
|
tdLog.info("%s" % cmd)
|
||||||
os.system("%s" % cmd)
|
os.system("%s" % cmd)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
tdDnodes.stopAll()
|
sc.dnodeStopAll()
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
tdDnodes.start(1)
|
sc.dnodeStart(1)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
|
||||||
psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'"
|
psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'"
|
||||||
|
|
|
@ -36,9 +36,9 @@ class TDTestCase(TBase):
|
||||||
tdLog.info("%s" % cmd)
|
tdLog.info("%s" % cmd)
|
||||||
os.system("%s" % cmd)
|
os.system("%s" % cmd)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
tdDnodes.stopAll()
|
sc.dnodeStopAll()
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
tdDnodes.start(1)
|
sc.dnodeStart(1)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
|
||||||
psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'"
|
psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'"
|
||||||
|
|
|
@ -36,9 +36,9 @@ class TDTestCase(TBase):
|
||||||
tdLog.info("%s" % cmd)
|
tdLog.info("%s" % cmd)
|
||||||
os.system("%s" % cmd)
|
os.system("%s" % cmd)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
tdDnodes.stopAll()
|
sc.dnodeStopAll()
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
tdDnodes.start(1)
|
sc.dnodeStart(1)
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
|
||||||
psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'"
|
psCmd = "ps -ef|grep -w taosBenchmark| grep -v grep | awk '{print $2}'"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
set -e
|
set -e
|
||||||
count=0
|
count=0
|
||||||
for i in `find tools/benchmark/basic/ -name "*.py"`
|
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
|
python3 test.py -f $i
|
||||||
((count=count+1))
|
((count=count+1))
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue