From 4c8f03cf587ed59289b3935f31c5557e7cb49e90 Mon Sep 17 00:00:00 2001 From: Vijay Date: Tue, 17 Dec 2019 18:21:34 -0800 Subject: [PATCH] Ensure IntegrationTests follow pattern of "*IntegrationTest.java" file name pattern to skip running it with -DSkipITs mvn option. --- README.md | 5 ++++- ...LeaseRenewerBillingModePayPerRequestIntegrationTest.java} | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) rename amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/dynamodb/{DynamoDBLeaseRenewerIntegrationBillingModePayPerRequestTest.java => DynamoDBLeaseRenewerBillingModePayPerRequestIntegrationTest.java} (99%) diff --git a/README.md b/README.md index ab3def8cf..53af8f1b7 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,10 @@ Please open an issue if you have any questions. ## Building from Source -After you've downloaded the code from GitHub, you can build it using Maven. To disable GPG signing in the build, use this command: `mvn clean install -Dgpg.skip=true` +After you've downloaded the code from GitHub, you can build it using Maven. To disable GPG signing in the build, use + this command: `mvn clean install -Dgpg.skip=true`. Note: This command runs Integration tests, which in turn creates AWS + resources (which requires manual cleanup). Integration tests require valid AWS credentials need to be discovered at + runtime. To skip running integration tests, add ` -DskipITs` option to the build command. ## Integration with the Kinesis Producer Library For producer-side developers using the **[Kinesis Producer Library (KPL)][kinesis-guide-kpl]**, the KCL integrates without additional effort. When the KCL retrieves an aggregated Amazon Kinesis record consisting of multiple KPL user records, it will automatically invoke the KPL to extract the individual user records before returning them to the user. diff --git a/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/dynamodb/DynamoDBLeaseRenewerIntegrationBillingModePayPerRequestTest.java b/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/dynamodb/DynamoDBLeaseRenewerBillingModePayPerRequestIntegrationTest.java similarity index 99% rename from amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/dynamodb/DynamoDBLeaseRenewerIntegrationBillingModePayPerRequestTest.java rename to amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/dynamodb/DynamoDBLeaseRenewerBillingModePayPerRequestIntegrationTest.java index 03df22cde..1dad013ef 100644 --- a/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/dynamodb/DynamoDBLeaseRenewerIntegrationBillingModePayPerRequestTest.java +++ b/amazon-kinesis-client/src/test/java/software/amazon/kinesis/leases/dynamodb/DynamoDBLeaseRenewerBillingModePayPerRequestIntegrationTest.java @@ -35,7 +35,7 @@ import static org.junit.Assert.assertThat; @RunWith(MockitoJUnitRunner.class) -public class DynamoDBLeaseRenewerIntegrationBillingModePayPerRequestTest extends +public class DynamoDBLeaseRenewerBillingModePayPerRequestIntegrationTest extends LeaseIntegrationBillingModePayPerRequestTest { private final String TEST_METRIC = "TestOperation";