From 9245ba076d39631779903099967214b11dde1084 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sat, 18 Mar 2023 10:26:20 +0800 Subject: [PATCH] test: rename filename --- ...t_wide_coulum.py => insert_wide_column.py} | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) rename tests/system-test/1-insert/{insert_wide_coulum.py => insert_wide_column.py} (81%) diff --git a/tests/system-test/1-insert/insert_wide_coulum.py b/tests/system-test/1-insert/insert_wide_column.py similarity index 81% rename from tests/system-test/1-insert/insert_wide_coulum.py rename to tests/system-test/1-insert/insert_wide_column.py index 082e8bf5a7..aafaa7d4a0 100644 --- a/tests/system-test/1-insert/insert_wide_coulum.py +++ b/tests/system-test/1-insert/insert_wide_column.py @@ -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()) -- GitLab