directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r467906 - /directory/trunks/mina/core/src/test/java/org/apache/mina/transport/AbstractBindTest.java
Date Thu, 26 Oct 2006 08:09:34 GMT
Author: trustin
Date: Thu Oct 26 01:09:34 2006
New Revision: 467906

URL: http://svn.apache.org/viewvc?view=rev&rev=467906
Log:
Forgot to bind before testing in AbstractBindTest (DIRMINA-293)

Modified:
    directory/trunks/mina/core/src/test/java/org/apache/mina/transport/AbstractBindTest.java

Modified: directory/trunks/mina/core/src/test/java/org/apache/mina/transport/AbstractBindTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/core/src/test/java/org/apache/mina/transport/AbstractBindTest.java?view=diff&rev=467906&r1=467905&r2=467906
==============================================================================
--- directory/trunks/mina/core/src/test/java/org/apache/mina/transport/AbstractBindTest.java
(original)
+++ directory/trunks/mina/core/src/test/java/org/apache/mina/transport/AbstractBindTest.java
Thu Oct 26 01:09:34 2006
@@ -127,6 +127,7 @@
         Assert.assertNotNull( acceptor.getLocalAddress() );
         acceptor.unbind();
         acceptor.setLocalAddress( createSocketAddress( 0 ) );
+        acceptor.bind();
         Assert.assertNotNull( acceptor.getLocalAddress() );
         Assert.assertTrue( getPort( acceptor.getLocalAddress() ) != 0 );
         acceptor.unbind();



Mime
View raw message