Skip to content

Commit 28554c1

Browse files
committed
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.
1 parent 246e8e8 commit 28554c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/org/springframework/integration/aws/kinesis/KplKclIntegrationTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@
2525

2626
import org.junit.jupiter.api.AfterAll;
2727
import org.junit.jupiter.api.BeforeAll;
28+
import org.junit.jupiter.api.Disabled;
2829
import org.junit.jupiter.api.Test;
29-
import org.junit.jupiter.api.condition.DisabledOnOs;
30-
import org.junit.jupiter.api.condition.OS;
3130
import org.testcontainers.containers.localstack.LocalStackContainer;
3231

3332
import org.springframework.beans.factory.annotation.Autowired;
@@ -65,7 +64,7 @@
6564
*
6665
* @since 1.1
6766
*/
68-
@DisabledOnOs(OS.WINDOWS)
67+
@Disabled("Depends on real call to http://169.254.169.254 through native library")
6968
@SpringJUnitConfig
7069
@DirtiesContext
7170
public class KplKclIntegrationTests implements LocalstackContainerTest {

0 commit comments

Comments
 (0)