Adding timeouts on problematic tests to prevent CI abort
This commit is contained in:
parent
8b252ecd9f
commit
89b22d0c90
|
@ -41,7 +41,7 @@ public class MessageInputStreamTest
|
|||
@Rule
|
||||
public TestName testname = new TestName();
|
||||
|
||||
@Test
|
||||
@Test(timeout=10000)
|
||||
public void testBasicAppendRead() throws IOException
|
||||
{
|
||||
LocalWebSocketConnection conn = new LocalWebSocketConnection(testname);
|
||||
|
@ -64,7 +64,7 @@ public class MessageInputStreamTest
|
|||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(timeout=10000)
|
||||
public void testBlockOnRead() throws IOException
|
||||
{
|
||||
LocalWebSocketConnection conn = new LocalWebSocketConnection(testname);
|
||||
|
@ -108,7 +108,7 @@ public class MessageInputStreamTest
|
|||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(timeout=10000)
|
||||
public void testBlockOnReadInitial() throws IOException
|
||||
{
|
||||
LocalWebSocketConnection conn = new LocalWebSocketConnection(testname);
|
||||
|
@ -147,7 +147,7 @@ public class MessageInputStreamTest
|
|||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test(timeout=10000)
|
||||
public void testReadByteNoBuffersClosed() throws IOException
|
||||
{
|
||||
LocalWebSocketConnection conn = new LocalWebSocketConnection(testname);
|
||||
|
|
Loading…
Reference in New Issue