Increased test timeout to avoid Hudson false alarm
This commit is contained in:
parent
cee920f3b8
commit
7fe42c4c4f
@ -82,7 +82,7 @@ public abstract class AbstractSocketServerBootstrapTest {
|
|||||||
|
|
||||||
protected abstract ChannelFactory newServerSocketChannelFactory(Executor executor);
|
protected abstract ChannelFactory newServerSocketChannelFactory(Executor executor);
|
||||||
|
|
||||||
@Test(timeout = 10000, expected = ChannelException.class)
|
@Test(timeout = 30000, expected = ChannelException.class)
|
||||||
public void testFailedBindAttempt() throws Exception {
|
public void testFailedBindAttempt() throws Exception {
|
||||||
ServerBootstrap bootstrap = new ServerBootstrap();
|
ServerBootstrap bootstrap = new ServerBootstrap();
|
||||||
bootstrap.setFactory(newServerSocketChannelFactory(executor));
|
bootstrap.setFactory(newServerSocketChannelFactory(executor));
|
||||||
@ -90,7 +90,7 @@ public abstract class AbstractSocketServerBootstrapTest {
|
|||||||
bootstrap.bind();
|
bootstrap.bind();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout = 10000)
|
@Test(timeout = 30000)
|
||||||
public void testSuccessfulBindAttempt() throws Exception {
|
public void testSuccessfulBindAttempt() throws Exception {
|
||||||
ServerBootstrap bootstrap = new ServerBootstrap(
|
ServerBootstrap bootstrap = new ServerBootstrap(
|
||||||
newServerSocketChannelFactory(executor));
|
newServerSocketChannelFactory(executor));
|
||||||
|
Loading…
Reference in New Issue
Block a user