Skip to content

Commit f837686

Browse files
jiahaodoujiang24
jiahao
authored andcommitted
tests: make sure the test plan is irrelevant with the repeat_each() value.
1 parent 73b15a1 commit f837686

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/067-req-socket.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Test::Nginx::Socket::Lua::Stream;
44

55
repeat_each(2);
66

7-
plan tests => repeat_each() * (blocks() * 3 + 1) + 16;
7+
plan tests => repeat_each() * (blocks() * 3 + 9);
88

99
our $HtmlDir = html_dir;
1010

t/068-socket-keepalive.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Test::Nginx::Socket::Lua::Stream;
44

5-
plan tests => repeat_each() * (blocks() * 4) + 32;
5+
plan tests => repeat_each() * (blocks() * 4 + 32);
66

77
our $HtmlDir = html_dir;
88

0 commit comments

Comments
 (0)