File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 16
16
#
17
17
use t::APISIX ' no_plan' ;
18
18
19
- repeat_each(2 );
19
+ BEGIN {
20
+ if ($ ENV {TEST_NGINX_CHECK_LEAK}) {
21
+ $ SkipReason = " unavailable for the hup tests" ;
22
+
23
+ } else {
24
+ $ ENV {TEST_NGINX_USE_HUP} = 1 ;
25
+ undef $ ENV {TEST_NGINX_USE_STAP};
26
+ }
27
+ }
28
+
29
+ repeat_each(1 );
20
30
no_long_string();
21
31
no_root_location();
22
32
log_level(" debug" );
@@ -182,12 +192,17 @@ passed
182
192
GET / opentracing
183
193
-- - response_body
184
194
opentracing
195
+ -- - no_error_log
196
+ [error]
185
197
-- - grep_error_log eval
186
- qr/ \[info\] .* /
198
+ qr/ skywalking service Instance registered, service instance id : \d + /
187
199
-- - grep_error_log_out eval
188
- qr{report2endpoint ok }
200
+ qr/ skywalking service Instance registered, service instance id: 1 /
201
+ -- - timeout: 5
189
202
-- - LAST
190
203
204
+
205
+
191
206
=== TEST 7 : change sample ratio
192
207
-- - config
193
208
location / t {
You can’t perform that action at this time.
0 commit comments