This test is creating over 1G of log output which is causing CI to hang when parsing results.
server/src/test/java/org/elasticsearch/common/logging/JULBridgeTests.java
logger.removeHandler(existingHandler);
        }
        for (var savedHandler : savedHandlers) {
            logger.addHandler(savedHandler);
        }
    }
    private void assertLogged(Runnable loggingCode, LoggingExpectation... expectations) {
        Logger testLogger = LogManager.getLogger("");
        Loggers.setLevel(testLogger, Level.ALL);
        MockLogAppender mockAppender = new MockLogAppender();
        mockAppender.start();
        try {
            Loggers.addAppender(testLogger, mockAppender);
            for (var expectation : expectations) {
                mockAppender.addExpectation(expectation);
            }
            loggingCode.run();
            mockAppender.assertAllExpectationsMatched();
        } finally {
            Loggers.removeAppender(testLogger, mockAppender);
            mockAppender.stop();
        }
    }
    private void assertMessage(String msg, java.util.logging.Level julLevel, Level expectedLevel) {
        assertLogged(() -> logger.log(julLevel, msg), new SeenEventExpectation(msg, "", expectedLevel, msg));
    }
    private static java.util.logging.Level julLevel(int value) {
        return java.util.logging.Level.parse(Integer.toString(value));
    }
    public void testInstallRemovesExistingHandlers() {