RuntimeException can't be throws from JUnit tests

When I test in IntVectorReaderTest, I declared the method as this 

public void testReadWithWriterOpen() throws Exception {

And one line code in this method has RuntimeException, but this test is blocked/hang forever, maybe I have some wrong setting, maybe this is the junits' fault.

你可能感兴趣的:(RuntimeException can't be throws from JUnit tests)