Skip to content

Commit

Permalink
Switch to correct JUnit4 annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Nov 28, 2023
1 parent 6802caf commit 9fefba0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import co.elastic.apm.agent.rabbitmq.components.batch.BatchListenerComponent;
import co.elastic.apm.agent.rabbitmq.config.BatchConfiguration;
import co.elastic.apm.agent.tracer.configuration.MessagingConfiguration;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Disabled;
import org.junit.runner.RunWith;
Expand All @@ -46,7 +47,7 @@
@RunWith(SpringRunner.class)
@SpringBootTest
@ContextConfiguration(classes = {BatchConfiguration.class, BatchListenerComponent.class}, initializers = {RabbitMqTestBase.Initializer.class})
@Disabled("Test fails often on CI, presumably due to other RabbitMqTestBase tests not cleaning up correctly." +
@Ignore("Test fails often on CI, presumably due to other RabbitMqTestBase tests not cleaning up correctly." +
"Can be reproduced locally by running SpringAmqpBatchIT in repeated mode.")
public class SpringAmqpBatchIT extends RabbitMqTestBase {

Expand Down

0 comments on commit 9fefba0

Please sign in to comment.