File tree Expand file tree Collapse file tree 7 files changed +46
-4
lines changed Expand file tree Collapse file tree 7 files changed +46
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ install:
57
57
- if [ ! -f download-cache/openssl-$OPENSSL_VER.tar.gz ]; then wget -P download-cache https://www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER.tar.gz; fi
58
58
- git clone https://github.com/openresty/openresty-devel-utils.git
59
59
- git clone https://github.com/openresty/lua-cjson.git
60
- - git clone -b bump-1.27.0 https://github.com/xiaocang /openresty.git ../openresty
60
+ - git clone https://github.com/openresty /openresty.git ../openresty
61
61
- git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx
62
62
- git clone https://github.com/simpl/ngx_devel_kit.git ../ndk-nginx-module
63
63
- git clone https://github.com/openresty/mockeagain.git
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