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.
This commit is contained in:
Artem Bilan
2022-05-19 16:00:55 -04:00
parent 246e8e8db1
commit 28554c1187

View File

@@ -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 {