Increased test timeout to avoid Hudson false alarm

This commit is contained in:
Trustin Lee 2008-11-07 02:43:27 +00:00
parent cee920f3b8
commit 7fe42c4c4f

View File

@ -82,7 +82,7 @@ public abstract class AbstractSocketServerBootstrapTest {
protected abstract ChannelFactory newServerSocketChannelFactory(Executor executor);
@Test(timeout = 10000, expected = ChannelException.class)
@Test(timeout = 30000, expected = ChannelException.class)
public void testFailedBindAttempt() throws Exception {
ServerBootstrap bootstrap = new ServerBootstrap();
bootstrap.setFactory(newServerSocketChannelFactory(executor));
@ -90,7 +90,7 @@ public abstract class AbstractSocketServerBootstrapTest {
bootstrap.bind();
}
@Test(timeout = 10000)
@Test(timeout = 30000)
public void testSuccessfulBindAttempt() throws Exception {
ServerBootstrap bootstrap = new ServerBootstrap(
newServerSocketChannelFactory(executor));