Fix a test failure in LocalChannelRegistryTest
This commit is contained in:
parent
a9cc75dd3e
commit
4831eb49da
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user