# HG changeset patch # User Maxim Dounin # Date 1623977676 -10800 # Node ID f0a02a429a5946adfe54f4a715ca01d51fcf55d3 # Parent 408fe0dd3fedec6aba625cc11d8918f9f56449c3 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. diff --git a/mail_imap_ssl.t b/mail_imap_ssl.t --- a/mail_imap_ssl.t +++ b/mail_imap_ssl.t @@ -207,6 +207,7 @@ my $s = Test::Nginx::IMAP->new(PeerAddr ); $s->ok('trusted cert'); $s->send('1 AUTHENTICATE PLAIN ' . $cred->("s5")); +$s->read(); undef $s; # test auth_http request header fields with access_log