mirror of https://github.com/apache/nifi.git
NIFI-9197 - Improve AWS Surefire Run Time
This commit is contained in:
parent
acb25c1130
commit
6ce9919a1f
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue