NIFI-9197 - Improve AWS Surefire Run Time

This commit is contained in:
Paul Grey 2021-09-07 11:10:35 -04:00 committed by Mike Thomsen
parent acb25c1130
commit 6ce9919a1f
2 changed files with 3 additions and 0 deletions

View File

@ -366,6 +366,7 @@ public class TestConsumeKinesisStream {
mockConsumeKinesisStreamRunner.setProperty(ConsumeKinesisStream.KINESIS_STREAM_NAME, "test-stream");
mockConsumeKinesisStreamRunner.setProperty(ConsumeKinesisStream.APPLICATION_NAME, "test-application");
mockConsumeKinesisStreamRunner.setProperty(ConsumeKinesisStream.REGION, Regions.EU_WEST_2.getName());
mockConsumeKinesisStreamRunner.setProperty(ConsumeKinesisStream.TIMEOUT, "5 secs");
final AWSCredentialsProviderService awsCredentialsProviderService = new AWSCredentialsProviderControllerService();
mockConsumeKinesisStreamRunner.addControllerService("aws-credentials", awsCredentialsProviderService);

View File

@ -1224,6 +1224,7 @@ public abstract class TestInvokeAWSGatewayApiCommon {
runner.setProperty(InvokeAWSGatewayApi.PROP_AWS_GATEWAY_API_ENDPOINT, badurlport);
runner.setProperty(InvokeAWSGatewayApi.PROP_RESOURCE_NAME, "/doesnotExist");
runner.setProperty(InvokeAWSGatewayApi.TIMEOUT, "3 secs");
createFlowFiles(runner);
runner.run();
@ -1252,6 +1253,7 @@ public abstract class TestInvokeAWSGatewayApiCommon {
runner.setProperty(InvokeAWSGatewayApi.PROP_AWS_GATEWAY_API_ENDPOINT, badurlhost);
runner.setProperty(InvokeAWSGatewayApi.PROP_RESOURCE_NAME, "/doesnotExist");
runner.setProperty(InvokeAWSGatewayApi.TIMEOUT, "3 secs");
createFlowFiles(runner);
runner.run();