Skip to content

Commit

Permalink
Disable some of the AsyncCompletableFutureRetryTopicScenarioTests o…
Browse files Browse the repository at this point in the history
…n CI/CD
  • Loading branch information
artembilan committed Oct 17, 2024
1 parent 64870ed commit f838de8
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@
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;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.kafka.annotation.EnableKafka;
Expand Down Expand Up @@ -65,6 +67,8 @@

/**
* @author Sanghyeok An
* @author Artem Bilan
*
* @since 3.3.0
*/

Expand Down Expand Up @@ -437,9 +441,12 @@ void oneLongSuccessMsgBetween100ShortFailMsg(
}

@Test
@DisabledIfEnvironmentVariable(named = "GITHUB_ACTION", matches = ".*?",
disabledReason = "Fails sporadically. Perhaps uses too much Apache Kafka resources")
void halfSuccessMsgAndHalfFailedMsgWithRandomSleepTime(
@Autowired TestTopicListener6 topicListener6,
@Autowired MyCustomDltProcessor myCustomDltProcessor6) {
@Autowired @Qualifier("myCustomDltProcessor6") MyCustomDltProcessor myCustomDltProcessor6) {

// Given
DestinationTopic destinationTopic = topicContainer.getNextDestinationTopicFor("6-TopicId", TEST_TOPIC6);

Expand Down

0 comments on commit f838de8

Please sign in to comment.