Skip to content

Commit

Permalink
Fix intermittent failure of messaging tests
Browse files Browse the repository at this point in the history
Fixes #1023
  • Loading branch information
jamesnetherton committed Apr 3, 2020
1 parent 935b6db commit 57e6a71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.output.Slf4jLogConsumer;
import org.testcontainers.containers.wait.strategy.Wait;
import org.testcontainers.utility.TestcontainersConfiguration;

Expand All @@ -43,6 +44,8 @@ public Map<String, String> start() {
try {
container = new GenericContainer(ACTIVEMQ_IMAGE)
.withExposedPorts(ACTIVEMQ_PORT)
.withLogConsumer(new Slf4jLogConsumer(LOGGER))
.withEnv("BROKER_CONFIG_MAX_DISK_USAGE", "100")
.waitingFor(Wait.forListeningPort());

container.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
import io.restassured.http.ContentType;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

import static org.hamcrest.core.Is.is;

@QuarkusTest
@QuarkusTestResource(ActiveMQTestResource.class)
@Disabled("https://github.com/apache/camel-quarkus/issues/1023")
class JmsTest {

@ParameterizedTest
Expand Down

0 comments on commit 57e6a71

Please sign in to comment.