test: adjust valgrind num
This commit is contained in:
parent
3f94512aad
commit
c6c9b1ae9f
|
@ -32,12 +32,30 @@ sql create dnode $hostname port 7200
|
|||
sql drop dnode 2
|
||||
sql alter dnode 1 'debugflag 143'
|
||||
|
||||
print =============== step4: create alter drop show database
|
||||
sql create database db vgroups 1
|
||||
sql show databases
|
||||
sql show db.vgroups
|
||||
sql drop database db
|
||||
print =============== step4: create show database
|
||||
sql create database d1 vgroups 1
|
||||
sql show databases
|
||||
sql show d1.vgroups
|
||||
|
||||
print =============== step5: create show stable
|
||||
sql create table if not exists stb (ts timestamp, c1 int, c2 float, c3 double) tags (t1 int unsigned)
|
||||
sql show stables
|
||||
if $rows != 1 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
|
||||
goto _OVER
|
||||
print =============== step6: create show table
|
||||
sql create table ct1 using stb tags(1000)
|
||||
sql show tables
|
||||
if $rows != 1 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
print =============== step7: insert data
|
||||
|
||||
print =============== step7: select data
|
||||
|
||||
_OVER:
|
||||
system sh/exec.sh -n dnode1 -s stop -x SIGINT
|
||||
|
|
|
@ -29,7 +29,7 @@ print ----> start to check if there are ERRORS in vagrind log file for each dnod
|
|||
system_content sh/checkValgrind.sh -n dnode1
|
||||
|
||||
print cmd return result ----> [ $system_content ]
|
||||
if $system_content <= 10 then
|
||||
if $system_content <= 8 then
|
||||
return 0
|
||||
endi
|
||||
|
||||
|
|
Loading…
Reference in New Issue