You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Benedikt Ritter <br...@apache.org> on 2017/01/03 06:37:05 UTC

[EMAIL] Tests keep failing on Jenkins

Hello,

there is a failing test on Jenkins [1]. The test checks whether the name of
an attachment can be found in the messages body:

Expected: a string containing
"=?ISO-8859-1?Q?Test_Attachment_-_a>=E4,_o>=F6,_u>=FC,_au>=E4u?="

However this string is not contained like this in the message body. Instead
when the test executes on Jenkins we get this:

Content-Disposition: attachment;

 filename*0="=?ISO-8859-1?Q?Test_Attachment_-_a>=E4,_o>=F6,_u>=FC,_au>=E4";
   filename*1="u?="
Content-Description: Test Attachment Desc

So the name of the attachment is in two rows. I can not reproduce this on
my machine. Does the assertion need to be relaxed or has Jenkins discovered
a bug?

Regards,
Benedikt

[1]
https://builds.apache.org/job/commons-email/org.apache.commons$commons-email/5/console