diff --git a/tests/script/basicSuite.sim b/tests/script/basicSuite.sim index d0bb58ec206733278e770b97564c66f636f12e3e..420b08c1e1a55f041c6020e5a210aaa453778efc 100644 --- a/tests/script/basicSuite.sim +++ b/tests/script/basicSuite.sim @@ -9,7 +9,6 @@ run general/import/basic.sim run general/import/commit.sim run general/insert/query_file_memory.sim run general/parser/binary_escapeCharacter.sim -run general/parser/columnValue_bigint.sim run general/parser/select_from_cache_disk.sim run general/table/autocreate.sim run general/table/column_name.sim @@ -18,5 +17,5 @@ run general/table/vgroup.sim run general/user/basic1.sim run general/user/pass_alter.sim run general/vector/single.sim -run general/connection/connection.sim +#run general/connection/connection.sim run general/user/authority.sim diff --git a/tests/script/general/parser/alter.sim b/tests/script/general/parser/alter.sim index f97581c5f5be19323a927ede71f3b87a381b3c3f..e57b1f43d28363a146b2e18b694adc4be88370c8 100644 --- a/tests/script/general/parser/alter.sim +++ b/tests/script/general/parser/alter.sim @@ -238,3 +238,5 @@ sql show databases if $rows != 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/alter_stable.sim b/tests/script/general/parser/alter_stable.sim index 6715c44b9634c6cc30085aa1a96449361c380bc0..b64c919042296099bf0dbb17eddff67c564a745d 100644 --- a/tests/script/general/parser/alter_stable.sim +++ b/tests/script/general/parser/alter_stable.sim @@ -39,4 +39,4 @@ sql alter table tb1 set tag len = 379 # test end sql drop database $db - +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/auto_create_tb.sim b/tests/script/general/parser/auto_create_tb.sim index bcbf5474ad64ad37b3842d41463d1502010e43ab..a29d917244a41534e1a8b7d852131ccbaf8aede1 100644 --- a/tests/script/general/parser/auto_create_tb.sim +++ b/tests/script/general/parser/auto_create_tb.sim @@ -1,6 +1,4 @@ system sh/stop_dnodes.sh - - system sh/deploy.sh -n dnode1 -i 1 system sh/cfg.sh -n dnode1 -c walLevel -v 0 system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2 @@ -305,3 +303,5 @@ sql select * from tu if $rows != 2 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/auto_create_tb_drop_tb.sim b/tests/script/general/parser/auto_create_tb_drop_tb.sim index e3a3b0c7a0777c720d29b8a808d863eeb6293a2d..9d38b40ab33e70f0ac39457ac295395f57985687 100644 --- a/tests/script/general/parser/auto_create_tb_drop_tb.sim +++ b/tests/script/general/parser/auto_create_tb_drop_tb.sim @@ -1,5 +1,4 @@ system sh/stop_dnodes.sh - system sh/deploy.sh -n dnode1 -i 1 system sh/cfg.sh -n dnode1 -c walLevel -v 1 system sh/cfg.sh -n dnode1 -c ctime -v 30 @@ -81,3 +80,5 @@ while $x < 100 $x = $x + 1 print loop $x endw + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/binary_escapeCharacter.sim b/tests/script/general/parser/binary_escapeCharacter.sim index 5f7d98a75ad40f94ee34bf36ba089ba9c17fcd0a..c3c867795a30c6e2e87081e59cfbf5f558a60fb7 100644 --- a/tests/script/general/parser/binary_escapeCharacter.sim +++ b/tests/script/general/parser/binary_escapeCharacter.sim @@ -95,9 +95,4 @@ if $data41 != @udp005@ then endi - - - - - - +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/bug.sim b/tests/script/general/parser/bug.sim index 0233b2ee0454a5f5ac10a3857f364f44c0985e8c..0e97acb45351bb7ea5fb1fddd980fc276e0787e5 100644 --- a/tests/script/general/parser/bug.sim +++ b/tests/script/general/parser/bug.sim @@ -42,4 +42,3 @@ sql select st1.ts, st1.f1, st2.f2 from db.st1, db.st2 where st1.t1=st2.t2 and st system_content curl -H 'Authorization: Taosd /KfeAzX/f9na8qdtNZmtONryp201ma04bEl8LcvLUd7a8qdtNZmtONryp201ma04' -d 'select st1.ts, st1.f1, st2.f2 from db.st1, db.st2 where st1.t1=st2.t2 and st1.ts=st2.ts' 127.0.0.1:6020/restful/sql system sh/exec.sh -n dnode1 -s stop -x SIGINT - diff --git a/tests/script/general/parser/col_arithmetic_operation.sim b/tests/script/general/parser/col_arithmetic_operation.sim index 9ea8492907f7a2e76f8961b7a140658b28d932cc..132ecf43428cbb5d12abb1a991136f1cbb335a98 100644 --- a/tests/script/general/parser/col_arithmetic_operation.sim +++ b/tests/script/general/parser/col_arithmetic_operation.sim @@ -90,3 +90,5 @@ endi #### illegal operations sql_error select max(c2*2) from $tb sql_error select max(c1-c2) from $tb + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/columnValue.sim b/tests/script/general/parser/columnValue.sim index aa5c5f72c8e762144729f69f5688104137427769..e905f612156eae7575c4884210f8fee7b91e7556 100644 --- a/tests/script/general/parser/columnValue.sim +++ b/tests/script/general/parser/columnValue.sim @@ -22,15 +22,5 @@ run general/parser/columnValue_bigint.sim run general/parser/columnValue_float.sim run general/parser/columnValue_double.sim - - - - - - - - - - - +system sh/exec.sh -n dnode1 -s stop -x SIGINT diff --git a/tests/script/general/parser/commit.sim b/tests/script/general/parser/commit.sim index 2b69b1ab8c69a487bcd3852811ca3f615251446f..f1c980f3dbec5b0c7efc8eaafcbc4df6767d84e0 100644 --- a/tests/script/general/parser/commit.sim +++ b/tests/script/general/parser/commit.sim @@ -107,3 +107,5 @@ while $loop <= $loops endi $loop = $loop + 1 endw + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/create_db.sim b/tests/script/general/parser/create_db.sim index 80487701983dbb21e4540838d722bb365dbe9dff..817d712aa60b9c37d436e6f4da685ce5c289c72f 100644 --- a/tests/script/general/parser/create_db.sim +++ b/tests/script/general/parser/create_db.sim @@ -188,3 +188,5 @@ sql show databases if $rows != 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT diff --git a/tests/script/general/parser/create_mt.sim b/tests/script/general/parser/create_mt.sim index 76fb486f1ea4fb42439a00a8489990b2fc2e3ae2..5b951b7b350224d5346eaa8e2a3772cf72660281 100644 --- a/tests/script/general/parser/create_mt.sim +++ b/tests/script/general/parser/create_mt.sim @@ -258,3 +258,5 @@ sql show databases if $rows != 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/create_tb.sim b/tests/script/general/parser/create_tb.sim index 7df7d8a4da86e8beeacf6e75c300676ebef17828..7bb329396c6f3209223d5a99d184d9840c17f627 100644 --- a/tests/script/general/parser/create_tb.sim +++ b/tests/script/general/parser/create_tb.sim @@ -188,3 +188,5 @@ sql show databases if $rows != 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/dbtbnameValidate.sim b/tests/script/general/parser/dbtbnameValidate.sim index 5dea4a09c5f10257a46f191cfafbcba48684f96a..cf72f3ae615eb90135952685f87cebf3bc2582ab 100644 --- a/tests/script/general/parser/dbtbnameValidate.sim +++ b/tests/script/general/parser/dbtbnameValidate.sim @@ -127,5 +127,4 @@ if $rows != 7 then return -1 endi - - +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/fill.sim b/tests/script/general/parser/fill.sim index 459bc7611ed2e61f7913b1932c9a6a5d559f0594..4dfee222cc5ad106271890f5c16d4a42c1bf5ee8 100644 --- a/tests/script/general/parser/fill.sim +++ b/tests/script/general/parser/fill.sim @@ -849,3 +849,5 @@ sql show databases if $rows != 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/fill_stb.sim b/tests/script/general/parser/fill_stb.sim index 113f4b68a45b795e04d64913bb56bb17efec321e..402b79d6b59e1fc45f9d2525c1ab8c3cced1d329 100644 --- a/tests/script/general/parser/fill_stb.sim +++ b/tests/script/general/parser/fill_stb.sim @@ -430,3 +430,5 @@ sql show databases if $rows != 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/first_last.sim b/tests/script/general/parser/first_last.sim index d2586ce04a9ecc195b3ea5d271f399ccfb67fa07..48288daecae4790ffd221f4a45689557e2ac9e8e 100644 --- a/tests/script/general/parser/first_last.sim +++ b/tests/script/general/parser/first_last.sim @@ -83,3 +83,4 @@ sleep 3000 run general/parser/first_last_query.sim +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/groupby.sim b/tests/script/general/parser/groupby.sim index 5bf41772ed8141bc6ecccec48237d6b859846deb..9788e4d484a452963974aa1520ab27360c55baaa 100644 --- a/tests/script/general/parser/groupby.sim +++ b/tests/script/general/parser/groupby.sim @@ -406,4 +406,6 @@ endi if $data97 != @group_tb0@ then return -1 -endi \ No newline at end of file +endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/import_commit1.sim b/tests/script/general/parser/import_commit1.sim index d88e6e986a8bbaa6574459ddb3ceac9039529dbd..a929c1846bb14fd6f771ae2b842374999477bcde 100644 --- a/tests/script/general/parser/import_commit1.sim +++ b/tests/script/general/parser/import_commit1.sim @@ -53,3 +53,4 @@ if $data00 != $res then return -1 endi +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/import_commit2.sim b/tests/script/general/parser/import_commit2.sim index 9ed8ac0ea4bb9cb65575e790f08a4b71147f11c8..c93b3168f147ef8e23e8961c0a6848ce8f5f46ec 100644 --- a/tests/script/general/parser/import_commit2.sim +++ b/tests/script/general/parser/import_commit2.sim @@ -52,3 +52,4 @@ if $data00 != $res then return -1 endi +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/import_commit3.sim b/tests/script/general/parser/import_commit3.sim index ee71e0318265ce072eed789678770ecb415f9141..916bf6d05ec53349a15b55abceeedf05f175c6b6 100644 --- a/tests/script/general/parser/import_commit3.sim +++ b/tests/script/general/parser/import_commit3.sim @@ -59,3 +59,4 @@ if $data00 != $res then return -1 endi +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/import_file.sim b/tests/script/general/parser/import_file.sim index cd63612a0e31f48c1e2e4e1ede2800bb8f51e342..6b4dd07c7981ca141765b41cca3d005874a6583f 100644 --- a/tests/script/general/parser/import_file.sim +++ b/tests/script/general/parser/import_file.sim @@ -34,4 +34,6 @@ endi #system rm -f $inFileName # invalid shell -system rm -f ~/data.csv \ No newline at end of file +system rm -f ~/data.csv + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/insert_tb.sim b/tests/script/general/parser/insert_tb.sim index 4f2c5fcc7849a195470969abfc54025919b39e53..4ba455c2446e6fd9804b8e518dc31cacb0781bfc 100644 --- a/tests/script/general/parser/insert_tb.sim +++ b/tests/script/general/parser/insert_tb.sim @@ -233,3 +233,4 @@ endi #endi +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/interp.sim b/tests/script/general/parser/interp.sim index c7c633d42266d364e0ae234ed632225f6806e0ef..4033d1c73575600930bef2c08f8254ea8c7ac4ce 100644 --- a/tests/script/general/parser/interp.sim +++ b/tests/script/general/parser/interp.sim @@ -65,3 +65,5 @@ system sh/exec.sh -n dnode1 -s start print ================== server restart completed run general/parser/interp_test.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/join.sim b/tests/script/general/parser/join.sim index 6addcb1ac194af250e4ff25493058d0a891056c3..2524fbe63127ff2f6d9e6ca2758d460b79f79e1f 100644 --- a/tests/script/general/parser/join.sim +++ b/tests/script/general/parser/join.sim @@ -444,3 +444,5 @@ sql insert into um1 using m2 tags(1) values(1000001, 10)(2000000, 20); sql insert into um2 using m2 tags(9) values(1000001, 10)(2000000, 20); sql_error select count(*) from m1,m2 where m1.a=m2.a and m1.ts=m2.ts; + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/join_multivnode.sim b/tests/script/general/parser/join_multivnode.sim index 86488ea8442fccecf35995fccd340afff4be96c7..3e32064f3b0b217daccf2dfefc386470dee94f77 100644 --- a/tests/script/general/parser/join_multivnode.sim +++ b/tests/script/general/parser/join_multivnode.sim @@ -127,4 +127,6 @@ sql select join_mt0.ts, join_mt1.t1 from join_mt0, join_mt1 where join_mt0.ts=jo sql select join_mt0.ts, join_mt1.t1, join_mt0.t1, join_mt1.tbname, join_mt0.tbname from join_mt0, join_mt1 where join_mt0.ts=join_mt1.ts and join_mt0.t1=join_mt1.t1 -sql select join_mt0.ts, join_mt1.t1, join_mt0.t1, join_mt1.tbname, join_mt0.tbname from join_mt0, join_mt1 where join_mt0.ts=join_mt1.ts and join_mt0.t1=join_mt1.t1 limit 1 \ No newline at end of file +sql select join_mt0.ts, join_mt1.t1, join_mt0.t1, join_mt1.tbname, join_mt0.tbname from join_mt0, join_mt1 where join_mt0.ts=join_mt1.ts and join_mt0.t1=join_mt1.t1 limit 1 + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/lastrow.sim b/tests/script/general/parser/lastrow.sim index 5eb3b144a6f0fe405ffcacf3ed5571d9de820417..29f535942d6284345b9c84e863ec3b254fd25192 100644 --- a/tests/script/general/parser/lastrow.sim +++ b/tests/script/general/parser/lastrow.sim @@ -68,3 +68,5 @@ sql connect sleep 3000 run general/parser/lastrow_query.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/limit.sim b/tests/script/general/parser/limit.sim index 8f00912a59f40106468e2c67cbbd8b9b669540db..e3e952bdd3e56a61eff32ea301c8f403eda186ff 100644 --- a/tests/script/general/parser/limit.sim +++ b/tests/script/general/parser/limit.sim @@ -69,3 +69,5 @@ sleep 3000 run general/parser/limit_tb.sim run general/parser/limit_stb.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/limit1.sim b/tests/script/general/parser/limit1.sim index 040b6303de7eda3b997344f9cdde7055786f0eae..48fb6aaedeef38ed26fc0cde92d5b7869afcb3ba 100644 --- a/tests/script/general/parser/limit1.sim +++ b/tests/script/general/parser/limit1.sim @@ -67,3 +67,5 @@ print ================== server restart completed run general/parser/limit1_tb.sim run general/parser/limit1_stb.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/limit1_tblocks100.sim b/tests/script/general/parser/limit1_tblocks100.sim index a7764596400b3088f0d02e0bd8e0a36382a66f45..af4d3eda852ae7fe5219fbb66642950003fdb78a 100644 --- a/tests/script/general/parser/limit1_tblocks100.sim +++ b/tests/script/general/parser/limit1_tblocks100.sim @@ -67,3 +67,5 @@ print ================== server restart completed run general/parser/limit1_tb.sim run general/parser/limit1_stb.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/limit2.sim b/tests/script/general/parser/limit2.sim index cc9334db36bec8a0faa64fc16ba7d0de8a1f199f..61f817644a45f60c723c48279064add567715f48 100644 --- a/tests/script/general/parser/limit2.sim +++ b/tests/script/general/parser/limit2.sim @@ -74,3 +74,5 @@ system sh/exec.sh -n dnode1 -s start print ================== server restart completed run general/parser/limit2_query.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/mixed_blocks.sim b/tests/script/general/parser/mixed_blocks.sim index 77838774dffb1d70233c35badabbfa44af734412..569decaa14d49a6a3e109a2c4a6ec489eecb7706 100644 --- a/tests/script/general/parser/mixed_blocks.sim +++ b/tests/script/general/parser/mixed_blocks.sim @@ -142,3 +142,5 @@ endi if $data03 != 319 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/nchar.sim b/tests/script/general/parser/nchar.sim index 2a6bc83b41e5bce4975a29cea5e2a5a32a393a44..2c86748f2125931b07bcaa27a1cf188f8e781f81 100644 --- a/tests/script/general/parser/nchar.sim +++ b/tests/script/general/parser/nchar.sim @@ -310,3 +310,5 @@ endi # if $rows != 0 then # return -1 # endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/null_char.sim b/tests/script/general/parser/null_char.sim index e4f6c5f84972319483061ae50f7c267bb97292fc..d395b4c8baa8f29a5d292cdbc27600fd64522244 100644 --- a/tests/script/general/parser/null_char.sim +++ b/tests/script/general/parser/null_char.sim @@ -488,3 +488,4 @@ sql_error alter table st51 set tag tag_tinyint = abc379 #sql drop database $db +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/projection_limit_offset.sim b/tests/script/general/parser/projection_limit_offset.sim index 4b10694190f29fc205caa96aa2d3c52897c0eff2..52be50c032571ee55ef1a5da07b6257866f7406a 100644 --- a/tests/script/general/parser/projection_limit_offset.sim +++ b/tests/script/general/parser/projection_limit_offset.sim @@ -375,4 +375,4 @@ sql_error select 'abc'; #=============================tbase-1205 sql select count(*) from tm1 where ts= now -1d interval(1h) fill(NULL); - +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/repeatAlter.sim b/tests/script/general/parser/repeatAlter.sim index 5f6a8e6a2a9cf81047ebd0050678b04b3fa2bd94..3695206f908391c80ef451ebad66e3b069b21a74 100644 --- a/tests/script/general/parser/repeatAlter.sim +++ b/tests/script/general/parser/repeatAlter.sim @@ -5,3 +5,5 @@ while $i <= $loops run general/parser/alter.sim $i = $i + 1 endw + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/repeatStream.sim b/tests/script/general/parser/repeatStream.sim index bd631e36a136ce792bef574428d94fe18b99b18e..616679e78bf8095e175ef91abf96c918626d6acb 100644 --- a/tests/script/general/parser/repeatStream.sim +++ b/tests/script/general/parser/repeatStream.sim @@ -5,3 +5,5 @@ while $i <= $repeats run general/parser/stream.sim $i = $i + 1 endw + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/selectResNum.sim b/tests/script/general/parser/selectResNum.sim index 0a4eafc8a0554d324c56f96104dbcb65eb505f25..a0adc46d5f10792b62c57eb5a1c32b5b86a14f8a 100644 --- a/tests/script/general/parser/selectResNum.sim +++ b/tests/script/general/parser/selectResNum.sim @@ -182,3 +182,5 @@ while $loop <= $loops endw $loop = $loop + 1 endw + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/select_across_vnodes.sim b/tests/script/general/parser/select_across_vnodes.sim index 883d4d59cdfafd3f7f33d55ea340712a56d62ac0..65e8cbb7b1aea7441c577ad0f54c63cc72f6683e 100644 --- a/tests/script/general/parser/select_across_vnodes.sim +++ b/tests/script/general/parser/select_across_vnodes.sim @@ -80,3 +80,5 @@ sql show databases if $rows != 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/select_from_cache_disk.sim b/tests/script/general/parser/select_from_cache_disk.sim index 04cc68c310951539c0b0dc5dab1e81ef69f67eb3..9ffdf817d732d0600ec02618eddc19d7deb75305 100644 --- a/tests/script/general/parser/select_from_cache_disk.sim +++ b/tests/script/general/parser/select_from_cache_disk.sim @@ -68,3 +68,5 @@ endi if $data12 != 1 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/select_with_tags.sim b/tests/script/general/parser/select_with_tags.sim index 181d7f312a14633abc5a86fa28eb19576f3cf72d..329787b69c7597988c9f091569d37f6d90a676be 100644 --- a/tests/script/general/parser/select_with_tags.sim +++ b/tests/script/general/parser/select_with_tags.sim @@ -838,3 +838,5 @@ sql_error select first(c1), count(*), t2, t1, tbname from select_tags_mt0 group #sql select first(ts), tbname from select_tags_mt0 group by tbname; #sql select count(c1) from select_tags_mt0 where c1=99 group by tbname; #sql select count(*),tbname from select_tags_mt0 group by tbname + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/set_tag_vals.sim b/tests/script/general/parser/set_tag_vals.sim index de29c28ba38550eab2d5b928d3aa3e86cddb0c73..a684fd5406950ede213ad065a45a7aa79d355818 100644 --- a/tests/script/general/parser/set_tag_vals.sim +++ b/tests/script/general/parser/set_tag_vals.sim @@ -225,3 +225,5 @@ endi if $data04 != NULL then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/single_row_in_tb.sim b/tests/script/general/parser/single_row_in_tb.sim index 5ee65e3b10c992681497606526afe064ab70237e..52bdad20658d33faea3d9b59b629ff48d79aef21 100644 --- a/tests/script/general/parser/single_row_in_tb.sim +++ b/tests/script/general/parser/single_row_in_tb.sim @@ -36,3 +36,5 @@ system sh/exec.sh -n dnode1 -s start print ================== server restart completed run general/parser/single_row_in_tb_query.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/slimit.sim b/tests/script/general/parser/slimit.sim index 017e8d4d2ed8a075828542224c940b1495b634e4..161463a7c185abf4620f16ca91b51b8619cf0684 100644 --- a/tests/script/general/parser/slimit.sim +++ b/tests/script/general/parser/slimit.sim @@ -105,3 +105,5 @@ sql connect sleep 3000 run general/parser/slimit_query.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/slimit1.sim b/tests/script/general/parser/slimit1.sim index 3dbe9f0a06e02440330d952cfe24e1ac54f160bc..b987a6852ba0cf64c35888e4984aaa140eb51674 100644 --- a/tests/script/general/parser/slimit1.sim +++ b/tests/script/general/parser/slimit1.sim @@ -64,3 +64,5 @@ sql connect sleep 3000 run general/parser/slimit1_query.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/slimit_alter_tags.sim b/tests/script/general/parser/slimit_alter_tags.sim index 5c62482802277c52fb43b1932666ad302d4c7a7f..b8397f950c37e8fcdb083f931111b508ddaf7671 100644 --- a/tests/script/general/parser/slimit_alter_tags.sim +++ b/tests/script/general/parser/slimit_alter_tags.sim @@ -255,3 +255,5 @@ endi #if $rows != 0 then # return -1 #endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/stream.sim b/tests/script/general/parser/stream.sim index c4be6efa1c6b81dbf2e2e554caf6eb621d0daf26..8e5dad1595a1144759389669cb04a6997814abba 100644 --- a/tests/script/general/parser/stream.sim +++ b/tests/script/general/parser/stream.sim @@ -220,3 +220,5 @@ sql create database $db sql use $db sql create table stb (ts timestamp, c1 int) tags(t1 int) sql create table tb1 using stb tags(1) + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/stream_on_sys.sim b/tests/script/general/parser/stream_on_sys.sim index b7bf7a8900238fd8e2490a7fa58a75478fd641a7..5170ddb036495e958ccf0eb0b819cf85441a1100 100644 --- a/tests/script/general/parser/stream_on_sys.sim +++ b/tests/script/general/parser/stream_on_sys.sim @@ -58,3 +58,5 @@ sql select * from iostrm if $rows <= 0 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/tags_dynamically_specifiy.sim b/tests/script/general/parser/tags_dynamically_specifiy.sim index af514d1a0750f9a0c31121bbd8f11f5afd0f69b5..6e1766a91d32ae2c605934342b27159c2b69a9ef 100644 --- a/tests/script/general/parser/tags_dynamically_specifiy.sim +++ b/tests/script/general/parser/tags_dynamically_specifiy.sim @@ -55,4 +55,6 @@ endi #if $data06 != 100.90000 then # print "expect: 100.90000, act: $data06" # return -1 -#endi \ No newline at end of file +#endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/tbnameIn.sim b/tests/script/general/parser/tbnameIn.sim index 548560e945efc8a47d2a54f3c2d17cc0574d8352..16302888d078c3b9eaefd6746c54ed0ab48673b6 100644 --- a/tests/script/general/parser/tbnameIn.sim +++ b/tests/script/general/parser/tbnameIn.sim @@ -73,3 +73,5 @@ system sh/exec.sh -n dnode1 -s start print ================== server restart completed run general/parser/tbnameIn_query.sim + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/general/parser/testSuite.sim b/tests/script/general/parser/testSuite.sim index fb56868f1fd16e315605efdcfd316cfb7082cd09..0b7d705688aebc86367de89e6eae1fbf26cda802 100644 --- a/tests/script/general/parser/testSuite.sim +++ b/tests/script/general/parser/testSuite.sim @@ -98,3 +98,8 @@ sleep 2000 run general/parser/select_with_tags.sim sleep 2000 run general/parser/groupby.sim + +sleep 2000 +run general/parser/binary_escapeCharacter.sim +sleep 2000 +#run general/parser/bug.sim \ No newline at end of file diff --git a/tests/script/general/parser/where.sim b/tests/script/general/parser/where.sim index fb3a0a69e7f28501a07ec3c1840ece094a473994..de2312f2b9c4ed43992b7c9f0f066e2979b61bd7 100644 --- a/tests/script/general/parser/where.sim +++ b/tests/script/general/parser/where.sim @@ -272,3 +272,5 @@ sql select * from tb_where_NULL where c2 <> "nUll" if $rows != 2 then return -1 endi + +system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file diff --git a/tests/script/jenkins/basic.txt b/tests/script/jenkins/basic.txt index cbf83f68c7e0674fd21c217e0145c49c5d74a361..5a5793f069c153f68a06c87b5db4f63b271b3f74 100644 --- a/tests/script/jenkins/basic.txt +++ b/tests/script/jenkins/basic.txt @@ -41,6 +41,8 @@ cd ../../../debug; make ./test.sh -f general/compute/sum.sim ./test.sh -f general/compute/top.sim +#jeff ./test.sh -f general/connection/connection.sim + ./test.sh -f general/db/basic.sim ./test.sh -f general/db/basic1.sim ./test.sh -f general/db/basic2.sim @@ -97,61 +99,54 @@ cd ../../../debug; make #unsupport ./test.sh -f general/parser/alter.sim #unsupport ./test.sh -f general/parser/alter1.sim #unsupport ./test.sh -f general/parser/alter_stable.sim -#rpc error? ./test.sh -f general/parser/auto_create_tb.sim -# ./test.sh -f general/parser/auto_create_tb_drop_tb.sim -./test.sh -f general/parser/binary_escapeCharacter.sim -#./test.sh -f general/parser/bug.sim +./test.sh -f general/parser/auto_create_tb.sim +#slguan ./test.sh -f general/parser/auto_create_tb_drop_tb.sim ./test.sh -f general/parser/col_arithmetic_operation.sim -./test.sh -f general/parser/columnValue_bigint.sim -./test.sh -f general/parser/columnValue_bool.sim -./test.sh -f general/parser/columnValue_double.sim -./test.sh -f general/parser/columnValue_float.sim -./test.sh -f general/parser/columnValue_int.sim -# ./test.sh -f general/parser/col_arithmetic_operation.sim ./test.sh -f general/parser/columnValue.sim ./test.sh -f general/parser/commit.sim # ./test.sh -f general/parser/create_db.sim # ./test.sh -f general/parser/create_mt.sim # ./test.sh -f general/parser/create_tb.sim # ./test.sh -f general/parser/dbtbnameValidate.sim -# ./test.sh -f general/parser/fill.sim -# ./test.sh -f general/parser/fill_stb.sim -# ./test.sh -f general/parser/first_last.sim ./test.sh -f general/parser/import_commit1.sim ./test.sh -f general/parser/import_commit2.sim ./test.sh -f general/parser/import_commit3.sim -# ./test.sh -f general/parser/import_file.sim # ./test.sh -f general/parser/insert_tb.sim -# ./test.sh -f general/parser/tags_dynamically_specifiy.sim -# ./test.sh -f general/parser/interp.sim +# ./test.sh -f general/parser/first_last.sim +# ./test.sh -f general/parser/import_file.sim # ./test.sh -f general/parser/lastrow.sim +# ./test.sh -f general/parser/nchar.sim +# ./test.sh -f general/parser/null_char.sim +# ./test.sh -f general/parser/single_row_in_tb.sim +./test.sh -f general/parser/select_from_cache_disk.sim # ./test.sh -f general/parser/limit.sim +# ./test.sh -f general/parser/fill.sim +# ./test.sh -f general/parser/fill_stb.sim +# ./test.sh -f general/parser/tags_dynamically_specifiy.sim +# ./test.sh -f general/parser/interp.sim # ./test.sh -f general/parser/limit1.sim # ./test.sh -f general/parser/limit1_tblocks100.sim # ./test.sh -f general/parser/limit2.sim # ./test.sh -f general/parser/mixed_blocks.sim -# ./test.sh -f general/parser/nchar.sim -# ./test.sh -f general/parser/null_char.sim # ./test.sh -f general/parser/selectResNum.sim # ./test.sh -f general/parser/select_across_vnodes.sim -./test.sh -f general/parser/select_from_cache_disk.sim # ./test.sh -f general/parser/set_tag_vals.sim -# ./test.sh -f general/parser/single_row_in_tb.sim # ./test.sh -f general/parser/slimit.sim ./test.sh -f general/parser/slimit1.sim -./test.sh -f general/parser/slimit1_query.sim -# ./test.sh -f general/parser/slimit_alter_tags.sim -# ./test.sh -f general/parser/stream_on_sys.sim -# ./test.sh -f general/parser/stream.sim +#unsupport ./test.sh -f general/parser/slimit_alter_tags.sim +#unsupport ./test.sh -f general/parser/stream_on_sys.sim +#unsupport ./test.sh -f general/parser/stream.sim # ./test.sh -f general/parser/tbnameIn.sim # ./test.sh -f general/parser/where.sim # ./test.sh -f general/parser/repeatAlter.sim -# ./test.sh -f general/parser/repeatStream.sim +#unsupport ./test.sh -f general/parser/repeatStream.sim # ./test.sh -f general/parser/join.sim # ./test.sh -f general/parser/join_multivnode.sim # ./test.sh -f general/parser/projection_limit_offset.sim # ./test.sh -f general/parser/select_with_tags.sim # ./test.sh -f general/parser/groupby.sim +./test.sh -f general/parser/binary_escapeCharacter.sim +#./test.sh -f general/parser/bug.sim ./test.sh -f general/stable/disk.sim ./test.sh -f general/stable/metrics.sim