add case fullopt.py
This commit is contained in:
parent
b18208ee4a
commit
782607fe68
|
@ -16,7 +16,7 @@ import time
|
||||||
import random
|
import random
|
||||||
|
|
||||||
import taos
|
import taos
|
||||||
import frame
|
import frame.etool
|
||||||
|
|
||||||
from frame.log import *
|
from frame.log import *
|
||||||
from frame.sql import *
|
from frame.sql import *
|
||||||
|
@ -30,7 +30,6 @@ class TDTestCase(TBase):
|
||||||
def insertData(self):
|
def insertData(self):
|
||||||
tdLog.info(f"insert data.")
|
tdLog.info(f"insert data.")
|
||||||
|
|
||||||
tdSql.execute(f"use {self.db}")
|
|
||||||
# set insert data information
|
# set insert data information
|
||||||
self.childtable_count = 10
|
self.childtable_count = 10
|
||||||
self.insert_rows = 10000
|
self.insert_rows = 10000
|
||||||
|
@ -44,7 +43,7 @@ class TDTestCase(TBase):
|
||||||
tdLog.info(f"do action.")
|
tdLog.info(f"do action.")
|
||||||
|
|
||||||
# dump out sdb
|
# dump out sdb
|
||||||
sdb = epath.binFile("sdb.json")
|
sdb = "./sdb.json"
|
||||||
eos.delFile(sdb)
|
eos.delFile(sdb)
|
||||||
|
|
||||||
cfg = sc.dnodeCfgPath(1)
|
cfg = sc.dnodeCfgPath(1)
|
|
@ -47,7 +47,7 @@ class srvCtl:
|
||||||
|
|
||||||
# taos.cfg position
|
# taos.cfg position
|
||||||
def dnodeCfgPath(self, idx):
|
def dnodeCfgPath(self, idx):
|
||||||
return tdDnodes.tdDnodes[idx-1].cfgPath
|
return tdDnodes.dnodes[idx-1].cfgPath
|
||||||
|
|
||||||
|
|
||||||
sc = srvCtl()
|
sc = srvCtl()
|
|
@ -11,6 +11,7 @@
|
||||||
,,y,army,./pytest.sh python3 ./test.py -f enterprise/multi-level/mlevel_basic.py -N 3 -L 3 -D 2
|
,,y,army,./pytest.sh python3 ./test.py -f enterprise/multi-level/mlevel_basic.py -N 3 -L 3 -D 2
|
||||||
,,y,army,./pytest.sh python3 ./test.py -f enterprise/s3/s3_basic.py -L 3 -D 1
|
,,y,army,./pytest.sh python3 ./test.py -f enterprise/s3/s3_basic.py -L 3 -D 1
|
||||||
,,y,army,./pytest.sh python3 ./test.py -f community/cluster/snapshot.py -N 3 -L 3 -D 2
|
,,y,army,./pytest.sh python3 ./test.py -f community/cluster/snapshot.py -N 3 -L 3 -D 2
|
||||||
|
,,y,army,./pytest.sh python3 ./test.py -f community/cmdline/fullopt.py
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue