From 0852822ad7ea563993316a194c8a9a29808aa55f Mon Sep 17 00:00:00 2001 From: sumoanema Date: Tue, 29 Mar 2022 15:55:03 +0530 Subject: [PATCH] There were changes made to name of the source created in sumo from elb to classic-lb but the respective changes were not done in testTemplate which will lead to param assertion failure in the test suite. Have renamed the param assertion to fix the same --- .../templates/test/TestTemplate.yaml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/aws-observability/templates/test/TestTemplate.yaml b/aws-observability/templates/test/TestTemplate.yaml index b5952444..e806a6b0 100644 --- a/aws-observability/templates/test/TestTemplate.yaml +++ b/aws-observability/templates/test/TestTemplate.yaml @@ -218,7 +218,7 @@ Tests: CreateELBS3Bucket: 'Yes' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: 'classicloadbalancing/AWSLogs/' - ELBLogsSourceName: "elb-logs-ap-south-1" + ELBLogsSourceName: "classic-lb-logs-ap-south-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'Yes' @@ -527,7 +527,7 @@ Tests: CreateELBS3Bucket: 'Yes' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: 'classicloadbalancing/AWSLogs' - ELBLogsSourceName: "elb-logs-ap-south-1" + ELBLogsSourceName: "classic-lb-logs-ap-south-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'Yes' @@ -836,7 +836,7 @@ Tests: CreateELBS3Bucket: 'Yes' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: 'classicloadbalancing/AWSLogs/' - ELBLogsSourceName: "elb-logs-ap-south-1" + ELBLogsSourceName: "classic-lb-logs-ap-south-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'Yes' @@ -1039,7 +1039,7 @@ Tests: CreateELBS3Bucket: 'No' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: '' - ELBLogsSourceName: "elb-logs-us-east-1" + ELBLogsSourceName: "classic-lb-logs-us-east-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'No' CreateCloudTrailBucket: 'No' @@ -1279,7 +1279,7 @@ Tests: CreateELBS3Bucket: 'Yes' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: 'classicloadbalancing/AWSLogs/' - ELBLogsSourceName: "elb-logs-us-east-2" + ELBLogsSourceName: "classic-lb-logs-us-east-2" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'No' CreateCloudTrailBucket: 'No' @@ -1537,7 +1537,7 @@ Tests: CreateELBS3Bucket: 'No' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: '' - ELBLogsSourceName: "elb-logs-ap-south-1" + ELBLogsSourceName: "classic-lb-logs-ap-south-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'Yes' @@ -1965,7 +1965,7 @@ Tests: CreateELBS3Bucket: 'No' ELBS3LogsBucketName: "cf-templates-1qpf3unpuo1hw-us-east-1-alekh" ELBS3BucketPathExpression: 'elblogs/AWSLogs/' - ELBLogsSourceName: "elb-logs-us-east-1" + ELBLogsSourceName: "classic-lb-logs-us-east-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'Yes' @@ -2183,7 +2183,7 @@ Tests: CreateELBS3Bucket: 'Yes' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: 'classicloadbalancing/AWSLogs/' - ELBLogsSourceName: "elb-logs-us-east-1" + ELBLogsSourceName: "classic-lb-logs-us-east-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'No' @@ -2646,7 +2646,7 @@ Tests: CreateELBS3Bucket: 'No' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: '' - ELBLogsSourceName: "elb-logs-ap-south-1" + ELBLogsSourceName: "classic-lb-logs-ap-south-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'No' CreateCloudTrailBucket: 'No' @@ -2916,7 +2916,7 @@ Tests: CreateELBS3Bucket: 'No' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: '' - ELBLogsSourceName: "elb-logs-ap-south-1" + ELBLogsSourceName: "classic-lb-logs-ap-south-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'No' @@ -3215,7 +3215,7 @@ Tests: CreateELBS3Bucket: 'Yes' ELBS3LogsBucketName: "" ELBS3BucketPathExpression: '/elasticloadbalancing/ap-south-1/*' - ELBLogsSourceName: "elb-logs-ap-south-1" + ELBLogsSourceName: "classic-lb-logs-ap-south-1" ELBLogsSourceCategory: "aws/observability/clb/logs" CreateCloudTrailLogSource: 'Yes' CreateCloudTrailBucket: 'Yes'