public static void latchAwait(CountDownLatch latch) {
        try {
            latch.await();
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }
@Test
    void testLatchAwait() {
        final CountDownLatch countDownLatch = new CountDownLatch(1);
        long currentTime = System.currentTimeMillis();
        executorService.execute(() -> {
            ThreadUtils.sleep(100);
            ThreadUtils.countDown(countDownLatch);
        });
        ThreadUtils.latchAwait(countDownLatch);
        assertTrue(System.currentTimeMillis() - currentTime >= 100);
    }