Merge pull request #7888 from taosdata/feature/TD-4352
[TD-4840]<test>:add tsdb testcase to fulltest'script
This commit is contained in:
commit
fb7aeed459
|
@ -183,6 +183,9 @@ python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestSupportNanosub
|
||||||
python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestInsertTime_step.py
|
python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdemoTestInsertTime_step.py
|
||||||
python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdumpTestNanoSupport.py
|
python3 test.py -f tools/taosdemoAllTest/NanoTestCase/taosdumpTestNanoSupport.py
|
||||||
|
|
||||||
|
#
|
||||||
|
python3 ./test.py -f tsdb/tsdbComp.py
|
||||||
|
|
||||||
# update
|
# update
|
||||||
python3 ./test.py -f update/allow_update.py
|
python3 ./test.py -f update/allow_update.py
|
||||||
python3 ./test.py -f update/allow_update-0.py
|
python3 ./test.py -f update/allow_update-0.py
|
||||||
|
|
|
@ -42,7 +42,7 @@ class TwoClients:
|
||||||
|
|
||||||
tdSql.execute("drop database if exists db3")
|
tdSql.execute("drop database if exists db3")
|
||||||
|
|
||||||
# insert data with taosc
|
# insert data with c connector
|
||||||
for i in range(10):
|
for i in range(10):
|
||||||
os.system("taosdemo -f manualTest/TD-5114/insertDataDb3Replica2.json -y ")
|
os.system("taosdemo -f manualTest/TD-5114/insertDataDb3Replica2.json -y ")
|
||||||
# # check data correct
|
# # check data correct
|
||||||
|
|
|
@ -24,7 +24,7 @@ from random import choice
|
||||||
|
|
||||||
class TwoClients:
|
class TwoClients:
|
||||||
def initConnection(self):
|
def initConnection(self):
|
||||||
self.host = "chenhaoran02"
|
self.host = "chenhaoran01"
|
||||||
self.user = "root"
|
self.user = "root"
|
||||||
self.password = "taosdata"
|
self.password = "taosdata"
|
||||||
self.config = "/etc/taos/"
|
self.config = "/etc/taos/"
|
||||||
|
@ -116,8 +116,10 @@ class TwoClients:
|
||||||
sleep(3)
|
sleep(3)
|
||||||
tdSql.execute(" drop dnode 'chenhaoran02:6030'; ")
|
tdSql.execute(" drop dnode 'chenhaoran02:6030'; ")
|
||||||
sleep(20)
|
sleep(20)
|
||||||
os.system("rm -rf /var/lib/taos/*")
|
# remove data file;
|
||||||
|
os.system("rm -rf /home/chr/data/data0/*")
|
||||||
print("clear dnode chenhaoran02'data files")
|
print("clear dnode chenhaoran02'data files")
|
||||||
|
sleep(5)
|
||||||
os.system("nohup /usr/bin/taosd > /dev/null 2>&1 &")
|
os.system("nohup /usr/bin/taosd > /dev/null 2>&1 &")
|
||||||
print("start taosd")
|
print("start taosd")
|
||||||
sleep(10)
|
sleep(10)
|
||||||
|
|
Loading…
Reference in New Issue