You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <de...@geronimo.apache.org> on 2006/08/10 12:27:14 UTC

[jira] Created: (GERONIMO-2309) MimeMessageTest can give failures for some Windows configurations.

MimeMessageTest can give failures for some Windows configurations.
------------------------------------------------------------------

                 Key: GERONIMO-2309
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2309
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: mail
    Affects Versions: 1.2
         Environment: Windows XP
            Reporter: Rick McGuire
         Assigned To: Rick McGuire
            Priority: Minor
             Fix For: 1.2


The MimeMessageTests include some setFrom() tests that use the default local address.  However, for some Windows default setups, the InternetAddress.getLocalAddress() call will return null, resulting in a test failure.  This is easily avoided by configuring mail.user and mail.host properties on the test session. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (GERONIMO-2309) MimeMessageTest can give failures for some Windows configurations.

Posted by "Rick McGuire (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2309?page=all ]

Rick McGuire resolved GERONIMO-2309.
------------------------------------

    Resolution: Fixed

Committed revision 430349.

M    geronimo-spec-javamail-1.3.1/src/test/java/javax/mail/internet/MimeMessageTest.java
M    geronimo-spec-javamail-1.4/src/test/java/javax/mail/internet/MimeMessageTest.java


> MimeMessageTest can give failures for some Windows configurations.
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-2309
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2309
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 1.2
>         Environment: Windows XP
>            Reporter: Rick McGuire
>         Assigned To: Rick McGuire
>            Priority: Minor
>             Fix For: 1.2
>
>
> The MimeMessageTests include some setFrom() tests that use the default local address.  However, for some Windows default setups, the InternetAddress.getLocalAddress() call will return null, resulting in a test failure.  This is easily avoided by configuring mail.user and mail.host properties on the test session. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira