add case fullopt.py

This commit is contained in:
Alex Duan 2024-01-13 13:31:40 +08:00
parent b18208ee4a
commit 782607fe68
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ import time
import random
import taos
import frame
import frame.etool
from frame.log import *
from frame.sql import *
@ -30,7 +30,6 @@ class TDTestCase(TBase):
def insertData(self):
tdLog.info(f"insert data.")
tdSql.execute(f"use {self.db}")
# set insert data information
self.childtable_count = 10
self.insert_rows = 10000
@ -44,7 +43,7 @@ class TDTestCase(TBase):
tdLog.info(f"do action.")
# dump out sdb
sdb = epath.binFile("sdb.json")
sdb = "./sdb.json"
eos.delFile(sdb)
cfg = sc.dnodeCfgPath(1)

View File

@ -47,7 +47,7 @@ class srvCtl:
# taos.cfg position
def dnodeCfgPath(self, idx):
return tdDnodes.tdDnodes[idx-1].cfgPath
return tdDnodes.dnodes[idx-1].cfgPath
sc = srvCtl()

View File

@ -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/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/cmdline/fullopt.py
#