test: rename filename

This commit is contained in:
Alex Duan 2023-03-18 10:26:20 +08:00
parent 2d514e4978
commit 9245ba076d
1 changed files with 11 additions and 15 deletions

View File

@ -1,3 +1,14 @@
###################################################################
# Copyright (c) 2016 by TAOS Technologies, Inc.
# All rights reserved.
#
# This file is proprietary and confidential to TAOS Technologies.
# No part of this file may be reproduced, stored, transmitted,
# disclosed or used in any form or by any means other than as
# expressly provided by the written permission from Jianhui Tao
#
###################################################################
# -*- coding: utf-8 -*-
import sys
@ -11,23 +22,10 @@ from util.cases import *
from util.sql import *
class TDTestCase:
def init(self, conn, logSql, replicaVar=1):
tdSql.init(conn.cursor(), logSql)
def run(self):
tdLog.info("hello world.")
def stop(self):
tdSql.close()
tdLog.success("%s successfully executed" % __file__)
#
# Test Main class
#
'''
class TDTestCase:
def init(self, conn, logSql, replicaVar=1):
self.replicaVar = int(replicaVar)
@ -79,12 +77,10 @@ class TDTestCase:
column_cnt = 4096 - tag_cnt
self.autoGen.set_batch_size(1)
self.test_db(dbname, stbname, childname, tag_cnt, column_cnt, child_cnt, insert_rows, binary_len, nchar_len)
def stop(self):
tdSql.close()
tdLog.success("%s successfully executed" % __file__)
'''
tdCases.addWindows(__file__, TDTestCase())
tdCases.addLinux(__file__, TDTestCase())