未验证 提交 ecbf04b2 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #6697 from taosdata/test/fix_err_case

fix retention policy error
...@@ -110,8 +110,8 @@ pipeline { ...@@ -110,8 +110,8 @@ pipeline {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh ''' sh '''
cd ${WKC}/tests/examples/JDBC/JDBCDemo/ cd ${WKC}/tests/examples/JDBC/JDBCDemo/
mvn clean package assembly:single -DskipTests >/dev/null mvn clean package >/dev/null
java -jar target/JDBCDemo-SNAPSHOT-jar-with-dependencies.jar -host 127.0.0.1 java -jar target/JdbcRestfulDemo-jar-with-dependencies.jar
''' '''
} }
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
......
...@@ -17723,3 +17723,23 @@ ...@@ -17723,3 +17723,23 @@
fun:_PyFunction_Vectorcall fun:_PyFunction_Vectorcall
fun:_PyEval_EvalFrameDefault fun:_PyEval_EvalFrameDefault
} }
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:__libc_alloc_buffer_allocate
fun:alloc_buffer_allocate
fun:__resolv_conf_allocate
fun:__resolv_conf_load
fun:__resolv_conf_get_current
fun:__res_vinit
fun:maybe_init
fun:context_get
fun:__resolv_context_get
fun:gaih_inet.constprop.7
fun:getaddrinfo
fun:taosGetFqdn
fun:taosCheckGlobalCfg
fun:taos_init_imp
}
\ No newline at end of file
...@@ -119,6 +119,7 @@ class TDTestRetetion: ...@@ -119,6 +119,7 @@ class TDTestRetetion:
time.sleep(0.001) time.sleep(0.001)
cmd = 'select * from test' cmd = 'select * from test'
self.queryRows=tdSql.query(cmd) self.queryRows=tdSql.query(cmd)
print(tdSql.queryResult)
self.checkRows(3,cmd) self.checkRows(3,cmd)
def stop(self): def stop(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册