Skip to content

Commit e7c88d4

Browse files
committed
tests: minor tweaks.
1 parent 5ad654b commit e7c88d4

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

t/process-type-master.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ use lib 'lib';
88
use Test::Nginx::Socket::Lua;
99
use Cwd qw(cwd);
1010

11-
#worker_connections(1014);
12-
master_process_enabled(1);
13-
#log_level('error');
14-
1511
repeat_each(2);
1612

1713
plan tests => repeat_each() * (blocks() * 5);
@@ -46,9 +42,13 @@ our $HttpConfig = <<_EOC_;
4642
}
4743
_EOC_
4844

45+
#worker_connections(1014);
46+
master_on();
47+
#log_level('error');
48+
4949
#no_diff();
5050
#no_long_string();
51-
check_accum_error_log();
51+
#check_accum_error_log();
5252
run_tests();
5353

5454
__DATA__

valgrind.suppress

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,15 @@
7272
fun:ngx_set_environment
7373
fun:ngx_single_process_cycle
7474
}
75+
{
76+
<insert_a_suppression_name_here>
77+
Memcheck:Leak
78+
match-leak-kinds: definite
79+
fun:malloc
80+
fun:ngx_alloc
81+
fun:ngx_set_environment
82+
fun:ngx_worker_process_init
83+
fun:ngx_worker_process_cycle
84+
fun:ngx_spawn_process
85+
fun:ngx_start_worker_processes
86+
}

0 commit comments

Comments
 (0)