@Test
public void testDoesntwaitForTimeoutOnBadCommand() throws Exception {
CommandRunningFitClient.TIMEOUT = 5000;
TimeMeasurement measurement = new TimeMeasurement().start();
client = new CommandRunningFitClient(new CommandRunningFitClient.OutOfProcessCommandRunner(new String[] { "java", "blah" }, null,
new CompositeExecutionLogListener()));
client.addFitClientListener(this);
client.start();
Thread.sleep(50);
client.join();
assertTrue(exceptionOccurred);