Ensure IntegrationTests follow pattern of "*IntegrationTest.java" file name pattern to skip running it with -DSkipITs mvn option.
This commit is contained in:
parent
a2228b9292
commit
4c8f03cf58
2 changed files with 5 additions and 2 deletions
|
|
@ -28,7 +28,10 @@ Please open an issue if you have any questions.
|
||||||
|
|
||||||
## Building from Source
|
## 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
|
## 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.
|
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.
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ import static org.hamcrest.CoreMatchers.nullValue;
|
||||||
import static org.junit.Assert.assertThat;
|
import static org.junit.Assert.assertThat;
|
||||||
|
|
||||||
@RunWith(MockitoJUnitRunner.class)
|
@RunWith(MockitoJUnitRunner.class)
|
||||||
public class DynamoDBLeaseRenewerIntegrationBillingModePayPerRequestTest extends
|
public class DynamoDBLeaseRenewerBillingModePayPerRequestIntegrationTest extends
|
||||||
LeaseIntegrationBillingModePayPerRequestTest {
|
LeaseIntegrationBillingModePayPerRequestTest {
|
||||||
private final String TEST_METRIC = "TestOperation";
|
private final String TEST_METRIC = "TestOperation";
|
||||||
|
|
||||||
Loading…
Reference in a new issue