Fixed a problem where AbstractSocketSslEchoTest doesn't close all channels when handshake fails.
This commit is contained in:
parent
5df6229d2a
commit
feac0d6a3d
@ -155,6 +155,9 @@ public abstract class AbstractSocketSslEchoTest {
|
||||
hf.awaitUninterruptibly();
|
||||
if (!hf.isSuccess()) {
|
||||
logger.error("Handshake failed", hf.getCause());
|
||||
sh.channel.close().awaitUninterruptibly();
|
||||
ch.channel.close().awaitUninterruptibly();
|
||||
sc.close().awaitUninterruptibly();
|
||||
}
|
||||
|
||||
assertTrue(hf.isSuccess());
|
||||
|
Loading…
x
Reference in New Issue
Block a user