Removed the long running test case
This commit is contained in:
parent
4998662d45
commit
6c6dbd6e96
|
@ -37,19 +37,4 @@ public class ExecutorServiceUnitTest {
|
|||
assertThat(((ThreadPoolExecutor) executorService).getQueue()
|
||||
.size(), is(equalTo(5)));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void givenAnExecutorService() throws Exception {
|
||||
|
||||
while (true) {
|
||||
TimeUnit.SECONDS.sleep(5);
|
||||
new Thread(() -> {
|
||||
try {
|
||||
TimeUnit.HOURS.sleep(1);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}).start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue