Skip to content

Commit

Permalink
Disable SpringAmqpBatchIT for flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Nov 28, 2023
1 parent c2db063 commit 6802caf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@
import co.elastic.apm.agent.rabbitmq.config.BatchConfiguration;
import co.elastic.apm.agent.tracer.configuration.MessagingConfiguration;
import org.junit.Test;
import org.junit.jupiter.api.Disabled;
import org.junit.runner.RunWith;
import org.springframework.amqp.rabbit.core.BatchingRabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
@@ -45,6 +46,8 @@
@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." +
"Can be reproduced locally by running SpringAmqpBatchIT in repeated mode.")
public class SpringAmqpBatchIT extends RabbitMqTestBase {

@Autowired

0 comments on commit 6802caf

Please sign in to comment.