Mercurial > hg > nginx-tests
comparison proxy-store.t @ 88:a31296de1987
Tests: proxy_store fixed in 0.7.53, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 27 Apr 2009 18:42:27 +0400 |
parents | f2d09159a8f3 |
children | abbe4b123795 |
comparison
equal
deleted
inserted
replaced
87:f2d09159a8f3 | 88:a31296de1987 |
---|---|
84 ok(!-e $t->testdir() . '/nostore', 'result not stored'); | 84 ok(!-e $t->testdir() . '/nostore', 'result not stored'); |
85 } | 85 } |
86 | 86 |
87 ok(scalar @{[ glob $t->testdir() . '/proxy_temp/*' ]} == 0, 'no temp files'); | 87 ok(scalar @{[ glob $t->testdir() . '/proxy_temp/*' ]} == 0, 'no temp files'); |
88 | 88 |
89 TODO: { | |
90 local $TODO = 'patch under review'; | |
91 | |
92 http_get('/big', aborted => 1, sleep => 0.1); | 89 http_get('/big', aborted => 1, sleep => 0.1); |
93 sleep(1); | 90 sleep(1); |
94 | 91 |
95 ok(scalar @{[ glob $t->testdir() . '/proxy_temp/*' ]} == 0, | 92 ok(scalar @{[ glob $t->testdir() . '/proxy_temp/*' ]} == 0, |
96 'no temp files after aborted request'); | 93 'no temp files after aborted request'); |
97 } | |
98 | 94 |
99 ############################################################################### | 95 ############################################################################### |