Mercurial > hg > nginx-tests
changeset 1689:dbd19195df8a
Tests: adjusted mail_smtp.t "long pipelined" TODO.
Prior to fixed reading with fully filled buffer in 2851e4c7de03 (1.21.0),
test for long pipelined commands leads to connection close by nginx, which
can result in RST and no response seen by the client, notably on win32.
While here, cleaned up permitted smtp_auth methods in that particular server.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 24 May 2021 22:09:54 +0300 |
parents | 31ea330ac360 |
children | 29f0e926c15f |
files | mail_smtp.t |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mail_smtp.t +++ b/mail_smtp.t @@ -52,7 +52,7 @@ mail { server { listen 127.0.0.1:8027; protocol smtp; - smtp_auth login plain none cram-md5 external; + smtp_auth none; smtp_client_buffer 128; } } @@ -285,11 +285,10 @@ local $TODO = 'not yet' unless $t->has_v . 'RCPT TO:<foobar@example.com>' . CRLF . 'RSET'); -$s->ok('long pipelined mail from'); +TODO: { +todo_skip 'long pipelined - not yet', 6 unless $t->has_version('1.21.0'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.0'); - +$s->ok('long pipelined mail from'); $s->ok('long pipelined rcpt to'); $s->ok('long pipelined rcpt to 2'); $s->ok('long pipelined rcpt to 3');