@Test(expected = TimeoutException.class, timeout = 30000)
public void testExitCode3() throws IOException, InterruptedException, ExecutionException, TimeoutException {

  LogCollection<Long> collect = TestLoggers.sys().collect(StdOutToStringProcessHandler.class.getName(), Level.ERROR,
          Level.ERROR, false, Collectors.counting());
  Runtime.jrun(RuntimeTest.TestError3.class, 10000);
  Assert.assertTrue(collect.get() > 0);
}