Skip to content

Commit de99cf6

Browse files
committed
Disable AsyncCompletableFutureRetryTopicScenarioTests on CI/CD
1 parent 0b8a3f7 commit de99cf6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-kafka/src/test/java/org/springframework/kafka/retrytopic/AsyncCompletableFutureRetryTopicScenarioTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import org.apache.kafka.clients.producer.ProducerConfig;
2828
import org.apache.kafka.common.serialization.StringSerializer;
2929
import org.junit.jupiter.api.Test;
30+
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;
3031

3132
import org.springframework.beans.factory.annotation.Autowired;
3233
import org.springframework.beans.factory.annotation.Qualifier;
@@ -73,6 +74,8 @@
7374
@DirtiesContext
7475
@EmbeddedKafka
7576
@TestPropertySource(properties = { "five.attempts=5", "kafka.template=customKafkaTemplate"})
77+
@DisabledIfEnvironmentVariable(named = "GITHUB_ACTION", matches = "true",
78+
disabledReason = "The test is too heavy and rely a lot in the timing.")
7679
public class AsyncCompletableFutureRetryTopicScenarioTests {
7780

7881
private final static String MAIN_TOPIC_CONTAINER_FACTORY = "kafkaListenerContainerFactory";

0 commit comments

Comments
 (0)