Removed the long running test case

This commit is contained in:
musibs 2020-06-02 18:13:56 +05:30
parent 4998662d45
commit 6c6dbd6e96
1 changed files with 0 additions and 15 deletions

View File

@ -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();
}
}
}