Removed the long running test case

This commit is contained in:
musibs
2020-06-02 18:13:56 +05:30
parent 71ed77d406
commit b4072a8246

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