@Test
    public void testMax() {
        assertEquals(1, Utils.max(1));
        assertEquals(3, Utils.max(1, 2, 3));
        assertEquals(3, Utils.max(2, 1, 3, 3));
        assertEquals(100, Utils.max(0, 2, 2, 100));
        assertEquals(-1, Utils.max(-1, -2, -2, -10, -100, -1000));
        assertEquals(0, Utils.max(-1, -2, -2, -10, -150, -1800, 0));
    }
Test to read content of named pipe as string. As reading/writing to a pipe can block,
timeout test after a minute (test finishes within 100 ms normally).
clients/src/test/java/org/apache/kafka/common/utils/UtilsTest.java