james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegfried Goeschl (Created) (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1324) POP3ServerTest.testKnownUserInboxWithMessages() fails
Date Mon, 03 Oct 2011 18:17:41 GMT
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


Mime
View raw message