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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to