Mercurial > hg > nginx-tests
comparison mail_imap_ssl.t @ 1702:f0a02a429a59
Tests: fixed spurious mail_imap_ssl.t failures after 408fe0dd3fed.
After 408fe0dd3fed, shutdown of nginx worker processes might happen before
the last auth_http request is accepted, leading to the "log - trusted cert"
test failure. Fix is to restore $s->read() call removed in 408fe0dd3fed.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 18 Jun 2021 03:54:36 +0300 |
parents | 408fe0dd3fed |
children | 1522ab9d37b4 |
comparison
equal
deleted
inserted
replaced
1701:408fe0dd3fed | 1702:f0a02a429a59 |
---|---|
205 SSL_key_file => "$d/3.example.com.key", | 205 SSL_key_file => "$d/3.example.com.key", |
206 %ssl, | 206 %ssl, |
207 ); | 207 ); |
208 $s->ok('trusted cert'); | 208 $s->ok('trusted cert'); |
209 $s->send('1 AUTHENTICATE PLAIN ' . $cred->("s5")); | 209 $s->send('1 AUTHENTICATE PLAIN ' . $cred->("s5")); |
210 $s->read(); | |
210 undef $s; | 211 undef $s; |
211 | 212 |
212 # test auth_http request header fields with access_log | 213 # test auth_http request header fields with access_log |
213 | 214 |
214 $t->stop(); | 215 $t->stop(); |