From ca3e4db865bcead2d0911acfa1e48d5cf7a3847f Mon Sep 17 00:00:00 2001 From: Otavio Rodolfo Piske Date: Mon, 8 Jun 2020 16:20:38 +0200 Subject: [PATCH] Disabled the urlBased test on the AWS S3 IT test Related to the known issue #260 on Github --- .../kafkaconnector/aws/s3/source/CamelSourceAWSS3ITCase.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/itests-aws/src/test/java/org/apache/camel/kafkaconnector/aws/s3/source/CamelSourceAWSS3ITCase.java b/tests/itests-aws/src/test/java/org/apache/camel/kafkaconnector/aws/s3/source/CamelSourceAWSS3ITCase.java index ad0eed4cc1..224345af03 100644 --- a/tests/itests-aws/src/test/java/org/apache/camel/kafkaconnector/aws/s3/source/CamelSourceAWSS3ITCase.java +++ b/tests/itests-aws/src/test/java/org/apache/camel/kafkaconnector/aws/s3/source/CamelSourceAWSS3ITCase.java @@ -34,6 +34,7 @@ import org.apache.kafka.clients.consumer.ConsumerRecord; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import org.junit.jupiter.api.extension.RegisterExtension; @@ -158,6 +159,7 @@ public void testBasicSendReceiveWithKafkaStyle() throws ExecutionException, Inte } + @Disabled("Disabled due to issue #260") @Test @Timeout(180) public void testBasicSendReceiveUsingUrl() throws ExecutionException, InterruptedException { @@ -167,10 +169,9 @@ public void testBasicSendReceiveUsingUrl() throws ExecutionException, Interrupte .basic() .withKafkaTopic(TestUtils.getDefaultTestTopic(this.getClass())) .withUrl(AWSCommon.DEFAULT_S3_BUCKET) - .append("configuration", "#class:" + TestS3Configuration.class.getName()) + .append("configuration", CamelAWSS3PropertyFactory.classRef(TestS3Configuration.class.getName())) .append("accessKey", amazonProperties.getProperty(AWSConfigs.ACCESS_KEY)) .append("secretKey", amazonProperties.getProperty(AWSConfigs.SECRET_KEY)) - .append("protocol", amazonProperties.getProperty(AWSConfigs.PROTOCOL)) .append("region", amazonProperties.getProperty(AWSConfigs.REGION, Regions.US_EAST_1.name())) .buildUrl();