File tree Expand file tree Collapse file tree
transport/src/test/java/io/netty Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ public void operationComplete(ChannelFuture future) throws Exception {
220220 }
221221 }
222222
223- @ Test (expected = ChannelException .class , timeout = 10000 )
223+ @ Test (expected = ConnectException .class , timeout = 10000 )
224224 public void testLateRegistrationConnect () throws Exception {
225225 EventLoopGroup group = new DelayedEventLoopGroup ();
226226 try {
Original file line number Diff line number Diff line change 2525import io .netty .channel .local .LocalEventLoopGroup ;
2626import org .junit .Test ;
2727
28+ import java .net .ConnectException ;
29+
2830import static org .junit .Assert .*;
2931
3032public class AbstractChannelPoolMapTest {
3133 private static final String LOCAL_ADDR_ID = "test.id" ;
3234
33- @ Test (expected = ChannelException .class )
35+ @ Test (expected = ConnectException .class )
3436 public void testMap () throws Exception {
3537 EventLoopGroup group = new LocalEventLoopGroup ();
3638 LocalAddress addr = new LocalAddress (LOCAL_ADDR_ID );
You can’t perform that action at this time.
0 commit comments