comparison proxy_variables.t @ 1402:db77d757ded4

Tests: proxy_variables.t TODO adjusted, fix committed.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 21 Nov 2018 15:15:50 +0300
parents 2b461d4af65f
children 3783b937a1dc
comparison
equal deleted inserted replaced
1401:2b461d4af65f 1402:db77d757ded4
105 ($ct, $ct2, $ht, $ht2, $rt, $rt2) = get('/pnu', many => 1); 105 ($ct, $ct2, $ht, $ht2, $rt, $rt2) = get('/pnu', many => 1);
106 cmp_ok($ct, '<', 1, 'connect time - next'); 106 cmp_ok($ct, '<', 1, 'connect time - next');
107 cmp_ok($ct2, '<', 1, 'connect time - next 2'); 107 cmp_ok($ct2, '<', 1, 'connect time - next 2');
108 108
109 TODO: { 109 TODO: {
110 local $TODO = 'not yet'; 110 local $TODO = 'not yet' unless $t->has_version('1.15.7');
111 111
112 is($ht, '-', 'header time - next'); 112 is($ht, '-', 'header time - next');
113 113
114 } 114 }
115 115
116 cmp_ok($ht2, '<', 1, 'header time - next 2'); 116 cmp_ok($ht2, '<', 1, 'header time - next 2');
117 cmp_ok($rt, '>=', 1, 'response time - next'); 117 cmp_ok($rt, '>=', 1, 'response time - next');
118 118
119 TODO: { 119 TODO: {
120 local $TODO = 'not yet'; 120 local $TODO = 'not yet' unless $t->has_version('1.15.7');
121 121
122 is($rt2, '-', 'response time - next 2'); 122 is($rt2, '-', 'response time - next 2');
123 123
124 } 124 }
125 125