File tree Expand file tree Collapse file tree 6 files changed +45
-3
lines changed Expand file tree Collapse file tree 6 files changed +45
-3
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,7 @@ delete thread 1
334
334
[error]
335
335
--- error_log
336
336
client prematurely closed connection
337
+ --- skip_nginx: 4: >= 1. 25. 5
337
338
338
339
339
340
Original file line number Diff line number Diff line change @@ -391,6 +391,7 @@ finalize stream session: 200
391
391
-- - no_error_log
392
392
[warn ]
393
393
[error]
394
+ -- - skip_nginx: 5 : >= 1.25 . 5
394
395
395
396
396
397
@@ -509,6 +510,7 @@ received: hello world
509
510
attempt to peek on a consumed socket
510
511
-- - no_error_log
511
512
[warn ]
513
+ -- - skip_nginx: 4 : >= 1.25 . 5
512
514
513
515
514
516
@@ -568,3 +570,4 @@ $ssl_preread_server_name = my.sni.server.name while prereading client data
568
570
[warn ]
569
571
assertion failed!
570
572
lua entry thread aborted
573
+ -- - skip_nginx: 8 : >= 1.25 . 5
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ $ssl_preread_server_name = my.sni.server.name while prereading client data
199
199
--- no_error_log
200
200
[crit]
201
201
[warn]
202
+ --- skip_nginx: 5: >= 1.25.5
202
203
203
204
204
205
Original file line number Diff line number Diff line change 1
1
# vim:set ft= ts=4 sw=4 et fdm=marker:
2
2
3
- use Test ::Nginx::Socket::Lua::Stream;
3
+ our $ SkipReason ;
4
+
5
+ BEGIN {
6
+ use Test ::Nginx::Util;
7
+
8
+ my $ nginx_version = Test ::Nginx::Util::get_nginx_version();
9
+
10
+ if (eval " $ nginx_version >= 1.25.5" ) {
11
+ $ SkipReason = " Nginx version greater than 1.25.5 have changed behavior, current version $ nginx_version" ;
12
+ }
13
+ }
14
+
15
+ use Test ::Nginx::Socket::Lua::Stream $ SkipReason ? (skip_all => $ SkipReason ) : ();
16
+
4
17
repeat_each(2 );
5
18
6
19
plan tests => repeat_each() * (blocks() * 5 );
Original file line number Diff line number Diff line change 1
1
# vim:set ft= ts=4 sw=4 et fdm=marker:
2
2
3
+ our $ SkipReason ;
4
+
5
+ BEGIN {
6
+ use Test ::Nginx::Util;
7
+
8
+ my $ nginx_version = Test ::Nginx::Util::get_nginx_version();
9
+
10
+ if (eval " $ nginx_version >= 1.25.5" ) {
11
+ $ SkipReason = " Nginx version greater than 1.25.5 have changed behavior, current version $ nginx_version" ;
12
+ }
13
+ }
14
+
3
15
BEGIN {
4
16
if (! defined $ ENV {LD_PRELOAD}) {
5
17
$ ENV {LD_PRELOAD} = ' ' ;
@@ -20,7 +32,7 @@ BEGIN {
20
32
$ ENV {MOCKEAGAIN_WRITE_TIMEOUT_PATTERN} = ' get helloworld' ;
21
33
}
22
34
23
- use Test ::Nginx::Socket::Lua::Stream;
35
+ use Test ::Nginx::Socket::Lua::Stream $ SkipReason ? ( skip_all => $ SkipReason ) : () ;
24
36
repeat_each(2 );
25
37
26
38
plan tests => repeat_each() * (blocks() * 4 + 8 );
Original file line number Diff line number Diff line change 1
1
# vim:set ft= ts=4 sw=4 et fdm=marker:
2
2
3
- use Test::Nginx::Socket::Lua::Stream;
3
+ our $ SkipReason ;
4
+
5
+ BEGIN {
6
+ use Test ::Nginx::Util;
7
+
8
+ my $ nginx_version = Test ::Nginx::Util::get_nginx_version();
9
+
10
+ if (eval " $ nginx_version >= 1.25.5" ) {
11
+ $ SkipReason = " Nginx version greater than 1.25.5 have changed behavior, current version $ nginx_version" ;
12
+ }
13
+ }
14
+
15
+ use Test ::Nginx::Socket::Lua::Stream $ SkipReason ? (skip_all => $ SkipReason ) : ();
4
16
repeat_each(2 );
5
17
6
18
plan tests => repeat_each() * 24 ;
You can’t perform that action at this time.
0 commit comments