From dabf94c5367e0b4b216bcf355399c41757a9396f Mon Sep 17 00:00:00 2001 From: Nick Richardson Date: Mon, 5 Aug 2024 14:03:57 -0500 Subject: [PATCH] Update E2E tests Signed-off-by: Nick Richardson --- .../aws_secretmanager/aws_secretmanager_test.go | 4 ++-- .../aws_secretmanager_pod_identity_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/secret-providers/aws_secretmanager/aws_secretmanager_test.go b/tests/secret-providers/aws_secretmanager/aws_secretmanager_test.go index 7c38564746a..5cb78fdc3c6 100644 --- a/tests/secret-providers/aws_secretmanager/aws_secretmanager_test.go +++ b/tests/secret-providers/aws_secretmanager/aws_secretmanager_test.go @@ -448,9 +448,9 @@ func createAWSSecret(t *testing.T, useJSONFormat bool) error { } // Print the JSON string - secretString := string(jsonData) + secretString = string(jsonData) } else { - secretString := postgreSQLConnectionString + secretString = postgreSQLConnectionString } _, err = client.CreateSecret(ctx, &secretsmanager.CreateSecretInput{ Name: &secretManagerSecretName, diff --git a/tests/secret-providers/aws_secretmanager_pod_identity/aws_secretmanager_pod_identity_test.go b/tests/secret-providers/aws_secretmanager_pod_identity/aws_secretmanager_pod_identity_test.go index f63ed9ce1ec..c3bbe1d01ef 100644 --- a/tests/secret-providers/aws_secretmanager_pod_identity/aws_secretmanager_pod_identity_test.go +++ b/tests/secret-providers/aws_secretmanager_pod_identity/aws_secretmanager_pod_identity_test.go @@ -438,9 +438,9 @@ func createAWSSecret(t *testing.T, useJSONFormat bool) error { } // Print the JSON string - secretString := string(jsonData) + secretString = string(jsonData) } else { - secretString := postgreSQLConnectionString + secretString = postgreSQLConnectionString } _, err = client.CreateSecret(ctx, &secretsmanager.CreateSecretInput{ Name: &secretManagerSecretName,