Skip to content

Commit ac9d3c2

Browse files
committed
tests: tried to make 4 tests less possible to fail due to timing error.
1 parent cd5c75c commit ac9d3c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/sanity.t

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":nul
831831
--- error_log eval
832832
qr/lua tcp socket keepalive create connection pool for key "ngx_test:ngx_test:[^\s:]+:\d+"/
833833
--- log_level: debug
834+
--- wait: 0.1
834835

835836

836837

@@ -1043,6 +1044,7 @@ result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":nul
10431044
--- error_log eval
10441045
qr/lua tcp socket keepalive create connection pool for key "ngx_test:ngx_test:[^\s:]+"/
10451046
--- log_level: debug
1047+
--- wait: 0.1
10461048

10471049

10481050

@@ -1115,6 +1117,7 @@ result: \[\{"id":"1","name":"Bob"\},\{"id":"2","name":""\},\{"id":"3","name":nul
11151117
--- error_log eval
11161118
qr/lua tcp socket keepalive create connection pool for key "my_pool"/
11171119
--- log_level: debug
1120+
--- wait: 0.1
11181121

11191122

11201123

@@ -1187,6 +1190,7 @@ result: \[\{"sum\(id\)":6\}\], err:nil$
11871190
--- error_log eval
11881191
qr/lua tcp socket keepalive create connection pool for key "my_pool"/
11891192
--- log_level: debug
1193+
--- wait: 0.1
11901194

11911195

11921196

0 commit comments

Comments
 (0)