Skip to content

Commit a11accb

Browse files
committed
tests: t/ndk.t: hardened a JIT-related test.
1 parent bc79c3d commit a11accb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

t/ndk.t

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ repeat_each(2);
55

66
plan tests => repeat_each() * (blocks() * 5 + 2);
77

8-
$ENV{TEST_NGINX_HOTLOOP} ||= 9;
9-
108
add_block_preprocessor(sub {
119
my $block = shift;
1210

@@ -47,11 +45,11 @@ __DATA__
4745
ngx.say(set_unescape_uri("a%20b"))
4846
4947
local res
50-
for i = 1, $TEST_NGINX_HOTLOOP * 5 do
48+
for i = 1, $TEST_NGINX_HOTLOOP * 10 do
5149
res = set_escape_uri(" :")
5250
end
5351
54-
for i = 1, $TEST_NGINX_HOTLOOP * 5 do
52+
for i = 1, $TEST_NGINX_HOTLOOP * 10 do
5553
res = set_unescape_uri("a%20b")
5654
end
5755
}

0 commit comments

Comments
 (0)