@Test
    public void testWaitUntilReadyWithTimeoutCausedByReadTimeout() {
        try (
            GenericContainer<?> container = startContainerWithCommand(
                createShellCommand("0 Connection Refused", GOOD_RESPONSE_BODY, 9090),
                createHttpWaitStrategy(ready).forPort(9090).withReadTimeout(Duration.ofMillis(1)),
                9090
            )
        ) {
            waitUntilReadyAndTimeout(container);
        }
    }
Expects the WaitStrategy probing the right port.
core/src/test/java/org/testcontainers/junit/wait/strategy/HttpWaitStrategyTest.java