Skip to content

Commit

Permalink
Disable AsyncCompletableFutureRetryTopicScenarioTests on CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 11, 2024
1 parent 0b8a3f7 commit de99cf6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.apache.kafka.clients.producer.ProducerConfig;
import org.apache.kafka.common.serialization.StringSerializer;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable;

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

private final static String MAIN_TOPIC_CONTAINER_FACTORY = "kafkaListenerContainerFactory";
Expand Down

0 comments on commit de99cf6

Please sign in to comment.