Skip to content

Commit

Permalink
test: fix failing help tests (#1308)
Browse files Browse the repository at this point in the history
Signed-off-by: Darren Murray <darren.murray@lacework.net>
  • Loading branch information
dmurray-lacework authored Jun 29, 2023
1 parent cf08e3d commit e10404d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion integration/test_resources/help/generate_cloud-account_aws
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Flags:
--existing_iam_role_externalid string specify existing iam role external_id to use
--existing_iam_role_name string specify existing iam role name to use
--existing_sns_topic_arn string specify existing SNS topic arn
--force_destroy_s3 enable force destroy S3 bucket
-h, --help help for aws
--lacework_aws_account_id string the Lacework AWS root account id
--output string location to write generated content (default is ~/lacework/aws)
Expand Down
1 change: 0 additions & 1 deletion integration/test_resources/help/generate_cloud-account_gcp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Flags:
--configuration_integration_name string specify a custom configuration integration name
--custom_bucket_name string override prefix based storage bucket name generation with a custom name
--custom_filter string Audit Log filter which supersedes all other filter options when defined
--enable_force_destroy_bucket enable force bucket destroy
--enable_ubla enable universal bucket level access(ubla) (default true)
--existing_bucket_name string specify existing bucket name
--existing_service_account_name string specify existing service account name
Expand Down
1 change: 0 additions & 1 deletion integration/test_resources/help/generate_k8s_eks
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Flags:
--enable_bucket_versioning enable s3 bucket versioning (default true)
--enable_encryption_s3 enable encryption on s3 bucket (default true)
--enable_firehose_encryption enable firehose encryption (default true)
--enable_force_destroy enable force destroy s3 bucket
--enable_kms_key_rotation enable automatic kms key rotation (default true)
--enable_mfa_delete_s3 enable mfa delete on s3 bucket. Requires bucket versioning.
--enable_sns_topic_encryption enable encryption on the sns topic (default true)
Expand Down
2 changes: 1 addition & 1 deletion scripts/integration_test_ctx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ run_integration_tests(){
CHANGES=$(git --no-pager diff --name-only $BRANCH $(git merge-base $BRANCH main))

# Fetch relevant build tags
TAGS=$(go run integration/context/ctx_cfg.go $CHANGES)
TAGS=$(go run integration/context/ctx_cfg.go -- $CHANGES)

# if no tags then exit
if [ "$TAGS" = "" ]; then
Expand Down

0 comments on commit e10404d

Please sign in to comment.