comparison proxy_cache_lock_age.t @ 568:907e89fba9c3

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Sun, 03 May 2015 12:45:09 +0300
parents 071e8941e3bf
children 2cd00179f4b2
comparison
equal deleted inserted replaced
567:22bade4c7e12 568:907e89fba9c3
24 select STDERR; $| = 1; 24 select STDERR; $| = 1;
25 select STDOUT; $| = 1; 25 select STDOUT; $| = 1;
26 26
27 plan(skip_all => 'win32') if $^O eq 'MSWin32'; 27 plan(skip_all => 'win32') if $^O eq 'MSWin32';
28 28
29 my $t = Test::Nginx->new()->has(qw/http proxy cache/) 29 my $t = Test::Nginx->new()->has(qw/http proxy cache/)->plan(2)
30 ->write_file_expand('nginx.conf', <<'EOF'); 30 ->write_file_expand('nginx.conf', <<'EOF');
31 31
32 %%TEST_GLOBALS%% 32 %%TEST_GLOBALS%%
33 33
34 daemon off; 34 daemon off;
57 } 57 }
58 58
59 EOF 59 EOF
60 60
61 $t->run_daemon(\&http_daemon, 8081); 61 $t->run_daemon(\&http_daemon, 8081);
62 62 $t->run()->waitforsocket('127.0.0.1:8081');
63 $t->try_run('no proxy_cache_lock_age')->plan(2);
64
65 $t->waitforsocket('127.0.0.1:8081');
66 63
67 ############################################################################### 64 ###############################################################################
68 65
69 my $s = http_get('/', start => 1); 66 my $s = http_get('/', start => 1);
70 67