File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 4040 - JOBS=3
4141 - NGX_BUILD_JOBS=$JOBS
4242 - TEST_NGINX_SLEEP=0.006
43+ - TEST_NGINX_SKIP_COSOCKET_LOG_TEST=1
4344 matrix :
4445 - NGINX_VERSION=1.29.4 OPENSSL_VER=3.5.4 OPENSSL_PATCH_VER=3.5.4
4546
4647services :
4748 - memcache
4849 - redis-server
49- - dnsmasq
5050
5151before_install :
52- - echo "address=/localhost/127.0.0.1" | sudo tee -a /etc/dnsmasq.conf
53- - sudo systemctl restart dnsmasq
5452 - wget -O - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
5553 - echo "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/openresty.list
5654 - sudo apt-get update
Original file line number Diff line number Diff line change @@ -28,7 +28,11 @@ our $StapScript = $t::StapThread::StapScript;
2828
2929repeat_each(2 );
3030
31- plan tests => repeat_each() * (blocks() * 4 + 8 );
31+ if (defined $ ENV {TEST_NGINX_SKIP_COSOCKET_LOG_TEST}) {
32+ plan (skip_all => " Remove TEST_NGINX_SKIP_COSOCKET_LOG_TEST to enable this test" );
33+ } else {
34+ plan tests => repeat_each() * (blocks() * 4 + 8 );
35+ }
3236
3337our $ HtmlDir = html_dir;
3438
Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ use Test::Nginx::Socket::Lua::Stream;
44
55repeat_each(2 );
66
7- plan tests => repeat_each() * (3 * blocks());
7+ if (defined $ ENV {TEST_NGINX_SKIP_COSOCKET_LOG_TEST}) {
8+ plan (skip_all => " Remove TEST_NGINX_SKIP_COSOCKET_LOG_TEST to enable this test" );
9+ } else
10+ plan tests => repeat_each() * (3 * blocks());
11+ }
812
913our $ HtmlDir = html_dir;
1014
You can’t perform that action at this time.
0 commit comments