Description
Lots of tests create indexes in beforeClass methods, but if an exception is thrown from another thread
it won't fail the test... e.g. this test passes:
public class TestExc extends LuceneTestCase { @BeforeClass public static void beforeClass() { new Thread() { public void run() { throw new RuntimeException("boo!"); } }.start(); } public void test() { } }
this is because the uncaught exception handler is in setup/teardown