提交 221a74af 编写于 作者: H Hongze Cheng

Merge branch 'develop' into feature/TD-1413

...@@ -9,7 +9,7 @@ pipeline { ...@@ -9,7 +9,7 @@ pipeline {
stage('Parallel test stage') { stage('Parallel test stage') {
parallel { parallel {
stage('pytest') { stage('pytest') {
agent{label 'master'} agent{label '184'}
steps { steps {
sh ''' sh '''
date date
...@@ -34,7 +34,7 @@ pipeline { ...@@ -34,7 +34,7 @@ pipeline {
} }
} }
stage('test_b1') { stage('test_b1') {
agent{label '184'} agent{label 'master'}
steps { steps {
sh ''' sh '''
cd ${WKC} cd ${WKC}
......
...@@ -39,7 +39,7 @@ class TDTestCase: ...@@ -39,7 +39,7 @@ class TDTestCase:
tdSql.query("select * from t0") tdSql.query("select * from t0")
tdSql.checkRows(1) tdSql.checkRows(1)
tdSql.checkData(0, 0, 1) tdSql.checkData(0, 1, 1)
tdSql.query("select * from t1") tdSql.query("select * from t1")
tdSql.checkRows(5) tdSql.checkRows(5)
......
...@@ -103,7 +103,7 @@ class TDTestCase: ...@@ -103,7 +103,7 @@ class TDTestCase:
tdSql.execute('alter table stb add tag tnc nchar(10)') tdSql.execute('alter table stb add tag tnc nchar(10)')
for tid in range(1, self.ntables + 1): for tid in range(1, self.ntables + 1):
tdSql.execute('alter table tb%d set tag tnc=\"%s\"' % tdSql.execute('alter table tb%d set tag tnc=\"%s\"' %
(tid, str(tid * 1.2))) (tid, str(tid + 1000000000)))
tdLog.info("insert %d data in to each %d tables" % (2, self.ntables)) tdLog.info("insert %d data in to each %d tables" % (2, self.ntables))
for rid in range(self.rowsPerTable + 1, self.rowsPerTable + 3): for rid in range(self.rowsPerTable + 1, self.rowsPerTable + 3):
sqlcmd = ['insert into'] sqlcmd = ['insert into']
......
...@@ -52,10 +52,10 @@ sleep 1000 ...@@ -52,10 +52,10 @@ sleep 1000
sql use $db sql use $db
sql drop table tb5 sql drop table tb5
$i = 0
while $i < 4 while $i < 4
$tbId = $i + $halfNum
$tb = $tbPrefix . $i $tb = tb . $i
$x = 0 $x = 0
while $x < $rowNum while $x < $rowNum
$xs = $x * $delta $xs = $x * $delta
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册