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 082e8bf5a71da26301c3809a91817b4fdfbcd3e8..aafaa7d4a04f0463dec9b9f9595e70240b228848 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())