mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FTPSERVER-418) Ignored/invalid assertion failure in FtpLetReturnDefaultTest.testLogin()
Date Wed, 01 Jun 2011 16:14:47 GMT
Ignored/invalid assertion failure in FtpLetReturnDefaultTest.testLogin() 
-------------------------------------------------------------------------

                 Key: FTPSERVER-418
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-418
             Project: FtpServer
          Issue Type: Bug
            Reporter: Sebb


The FtpLetReturnDefaultTest.testLogin() test defines a callback which overrides the onLogin
method.

The onLogin method includes the following assertion:

assertNotNull(session.getUserArgument());

However, this will have no effect (other than generating a log message if the level allows
it) because the method is called by a different thread from the test case.

Note that the null check is currently being triggered, but the test is not failing.
Either the null check is incorrect, or there is a bug that is not being detected.
Either way, something needs to be fixed...


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message