commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32007] - [email] dumpster bogus smtp server fails on tests
Date Tue, 02 Nov 2004 03:38:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32007

[email] dumpster bogus smtp server fails on tests





------- Additional Comments From corey.scott@gmail.com  2004-11-02 03:38 -------
Mark,

There are two things.

The "unexpected exception thrown" have been fixed, patch has not been applied 
yet. (it should be soon).  This was some invalid messages in testCharsValid, 
namely the "" and null.

The mail server failed to start means that dumbster timed-out, I cannot 
replicated this on windows, although I have seen a similar thing on unix.  I 
will continue to look into it, but any help would be appreciated.

Patch for bad messages:
Index: src/test/org/apache/commons/mail/BaseEmailTestCase.java
===================================================================
RCS file: /home/cvspublic/jakarta-commons-
sandbox/email/src/test/org/apache/commons/mail/BaseEmailTestCase.java,v
retrieving revision 1.4
diff -u -r1.4 BaseEmailTestCase.java
--- src/test/org/apache/commons/mail/BaseEmailTestCase.java	1 Nov 2004 
13:55:00 -0000	1.4
+++ src/test/org/apache/commons/mail/BaseEmailTestCase.java	1 Nov 2004 
17:03:30 -0000
@@ -62,16 +62,13 @@
 
     protected String[] testCharsValid = 
     {
-        "", 
         " ", 
         "a", 
         "A", 
-        "ä", 
-        "ß", 
+        "\uc5ec", 
         "0123456789", 
         "012345678901234567890", 
-        "\n", 
-        null
+        "\n" 
     };
     
     /** Array of test strings */

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message