# 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 -r 31ea330ac360 -r dbd19195df8a mail_smtp.t --- a/mail_smtp.t Mon May 24 18:28:17 2021 +0300 +++ b/mail_smtp.t Mon May 24 22:09:54 2021 +0300 @@ -52,7 +52,7 @@ 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 @@ . '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');