diff --git a/log4j2-appender/src/test/java/pl/tkowalcz/tjahzi/log4j2/LokiAppenderHttpsUrlConnectionReverseProxyTest.java b/log4j2-appender/src/test/java/pl/tkowalcz/tjahzi/log4j2/LokiAppenderHttpsUrlConnectionReverseProxyTest.java index d5d2dd3..8ae652d 100644 --- a/log4j2-appender/src/test/java/pl/tkowalcz/tjahzi/log4j2/LokiAppenderHttpsUrlConnectionReverseProxyTest.java +++ b/log4j2-appender/src/test/java/pl/tkowalcz/tjahzi/log4j2/LokiAppenderHttpsUrlConnectionReverseProxyTest.java @@ -6,12 +6,13 @@ import org.junit.jupiter.api.Test; import org.testcontainers.containers.BindMode; import org.testcontainers.containers.NginxContainer; -import org.testcontainers.containers.wait.strategy.HttpWaitStrategy; import org.testcontainers.junit.jupiter.Container; import pl.tkowalcz.tjahzi.log4j2.infra.IntegrationTest; import pl.tkowalcz.tjahzi.log4j2.infra.LokiAssert; -import static org.hamcrest.CoreMatchers.*; +import static org.hamcrest.CoreMatchers.containsString; +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.CoreMatchers.hasItems; class LokiAppenderHttpsUrlConnectionReverseProxyTest extends IntegrationTest { @@ -34,7 +35,6 @@ class LokiAppenderHttpsUrlConnectionReverseProxyTest extends IntegrationTest { "/etc/nginx/passwords", BindMode.READ_ONLY ) - .waitingFor(new HttpWaitStrategy()) .withExposedPorts(81); @Override