Ensure IntegrationTests follow pattern of "*IntegrationTest.java" file name pattern to skip running it with -DSkipITs mvn option.

This commit is contained in:
Joshi 2019-12-17 18:21:34 -08:00 committed by Vijay
parent a2228b9292
commit f2a7c95216
2 changed files with 4 additions and 2 deletions

View file

@ -28,7 +28,9 @@ 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 -DskipITs`. To run integration tests, remove the `-DskipITs` option
from the command. Note: Integration tests create AWS resources and require valid AWS credentials to be discovered at runtime.
## 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.

View file

@ -35,7 +35,7 @@ import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertThat;
@RunWith(MockitoJUnitRunner.class)
public class DynamoDBLeaseRenewerIntegrationBillingModePayPerRequestTest extends
public class DynamoDBLeaseRenewerBillingModePayPerRequestIntegrationTest extends
LeaseIntegrationBillingModePayPerRequestTest {
private final String TEST_METRIC = "TestOperation";