You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Siegfried Goeschl (Created) (JIRA)" <se...@james.apache.org> on 2011/10/03 20:17:41 UTC

[jira] [Created] (JAMES-1324) POP3ServerTest.testKnownUserInboxWithMessages() fails

POP3ServerTest.testKnownUserInboxWithMessages() fails 
------------------------------------------------------

                 Key: JAMES-1324
                 URL: https://issues.apache.org/jira/browse/JAMES-1324
             Project: JAMES Server
          Issue Type: Test
          Components: James Core
    Affects Versions: 2.3.2
            Reporter: Siegfried Goeschl
             Fix For: 2.3.3


POP3ServerTest.setupTestMails() creates two emails

* a proper one with 92 bytes length
* the second one is empty

The testKnownUserInboxWithMessages() deletes the first messages and checks for the size of the second message to ensure it has 92 bytes BUT we get the empty message. 

To make things worse 

* this test fails for the tagged release
* I think this only went unnoticed because the Ant build was used which does not run the unit tests per default
* the Ant test can't be run because there is no in "./tools/lib"
* the (outdated) M2 reports the problem as expected

I attach a patch which fixes the broken test and please add junit to the Ant test class path

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (JAMES-1324) POP3ServerTest.testKnownUserInboxWithMessages() fails

Posted by "Siegfried Goeschl (Updated) (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siegfried Goeschl updated JAMES-1324:
-------------------------------------

    Description: 
POP3ServerTest.setupTestMails() creates two emails

* a proper one with 92 bytes length
* the second one is empty

The testKnownUserInboxWithMessages() deletes the first messages and checks for the size of the second message to ensure it has 92 bytes BUT we get the empty message. 

To make things worse 

* this test fails for the tagged release
* I think this only went unnoticed because the Ant build was used which does not run the unit tests per default
* the Ant test can't be run because there is no JUnit library in "./tools/lib"
* the (outdated) M2 reports the problem as expected

I attach a patch which fixes the broken test and please add junit to the Ant test class path

  was:
POP3ServerTest.setupTestMails() creates two emails

* a proper one with 92 bytes length
* the second one is empty

The testKnownUserInboxWithMessages() deletes the first messages and checks for the size of the second message to ensure it has 92 bytes BUT we get the empty message. 

To make things worse 

* this test fails for the tagged release
* I think this only went unnoticed because the Ant build was used which does not run the unit tests per default
* the Ant test can't be run because there is no in "./tools/lib"
* the (outdated) M2 reports the problem as expected

I attach a patch which fixes the broken test and please add junit to the Ant test class path

    
> POP3ServerTest.testKnownUserInboxWithMessages() fails 
> ------------------------------------------------------
>
>                 Key: JAMES-1324
>                 URL: https://issues.apache.org/jira/browse/JAMES-1324
>             Project: JAMES Server
>          Issue Type: Test
>          Components: James Core
>    Affects Versions: 2.3.2
>            Reporter: Siegfried Goeschl
>             Fix For: 2.3.3
>
>         Attachments: POP3ServerTest.patch
>
>
> POP3ServerTest.setupTestMails() creates two emails
> * a proper one with 92 bytes length
> * the second one is empty
> The testKnownUserInboxWithMessages() deletes the first messages and checks for the size of the second message to ensure it has 92 bytes BUT we get the empty message. 
> To make things worse 
> * this test fails for the tagged release
> * I think this only went unnoticed because the Ant build was used which does not run the unit tests per default
> * the Ant test can't be run because there is no JUnit library in "./tools/lib"
> * the (outdated) M2 reports the problem as expected
> I attach a patch which fixes the broken test and please add junit to the Ant test class path

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (JAMES-1324) POP3ServerTest.testKnownUserInboxWithMessages() fails

Posted by "Siegfried Goeschl (Updated) (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siegfried Goeschl updated JAMES-1324:
-------------------------------------

    Attachment: POP3ServerTest.patch
    
> POP3ServerTest.testKnownUserInboxWithMessages() fails 
> ------------------------------------------------------
>
>                 Key: JAMES-1324
>                 URL: https://issues.apache.org/jira/browse/JAMES-1324
>             Project: JAMES Server
>          Issue Type: Test
>          Components: James Core
>    Affects Versions: 2.3.2
>            Reporter: Siegfried Goeschl
>             Fix For: 2.3.3
>
>         Attachments: POP3ServerTest.patch
>
>
> POP3ServerTest.setupTestMails() creates two emails
> * a proper one with 92 bytes length
> * the second one is empty
> The testKnownUserInboxWithMessages() deletes the first messages and checks for the size of the second message to ensure it has 92 bytes BUT we get the empty message. 
> To make things worse 
> * this test fails for the tagged release
> * I think this only went unnoticed because the Ant build was used which does not run the unit tests per default
> * the Ant test can't be run because there is no in "./tools/lib"
> * the (outdated) M2 reports the problem as expected
> I attach a patch which fixes the broken test and please add junit to the Ant test class path

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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