From 28554c11876c0f10931bcc0b09b4efdb34fc6321 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 19 May 2022 16:00:55 -0400 Subject: [PATCH] Disable KplKclIntegrationTests for real calls The KPL native process does a real Internet call to http://169.254.169.254 for some metadata. That resource is not always available. --- .../integration/aws/kinesis/KplKclIntegrationTests.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/springframework/integration/aws/kinesis/KplKclIntegrationTests.java b/src/test/java/org/springframework/integration/aws/kinesis/KplKclIntegrationTests.java index 65d4a1d..6fc3b75 100644 --- a/src/test/java/org/springframework/integration/aws/kinesis/KplKclIntegrationTests.java +++ b/src/test/java/org/springframework/integration/aws/kinesis/KplKclIntegrationTests.java @@ -25,9 +25,8 @@ import java.util.Date; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.DisabledOnOs; -import org.junit.jupiter.api.condition.OS; import org.testcontainers.containers.localstack.LocalStackContainer; import org.springframework.beans.factory.annotation.Autowired; @@ -65,7 +64,7 @@ import com.amazonaws.services.kinesis.producer.KinesisProducerConfiguration; * * @since 1.1 */ -@DisabledOnOs(OS.WINDOWS) +@Disabled("Depends on real call to http://169.254.169.254 through native library") @SpringJUnitConfig @DirtiesContext public class KplKclIntegrationTests implements LocalstackContainerTest {