Fix a test failure in LocalChannelRegistryTest

This commit is contained in:
Trustin Lee 2012-06-07 08:54:37 +09:00
parent a9cc75dd3e
commit 4831eb49da

View File

@ -59,7 +59,7 @@ public class LocalChannelRegistryTest {
// Start server
sb.bind().sync();
Channel sc = sb.bind().sync().channel();
// Connect to the server
Channel cc = cb.connect().sync().channel();
@ -74,6 +74,8 @@ public class LocalChannelRegistryTest {
sb.shutdown();
cb.shutdown();
sc.closeFuture().sync();
Assert.assertTrue(String.format(
"Expected null, got channel '%s' for local address '%s'",
LocalChannelRegistry.get(addr), addr),