# HG changeset patch # User Sergey Kandaurov # Date 1621883394 -10800 # Node ID dbd19195df8afe682383010535a3a870d05951bb # Parent 31ea330ac36049f2ecf14dadaf44cc20dc07b9fa 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. diff --git a/mail_smtp.t b/mail_smtp.t --- 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:' . 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');