From 060917d9683673b1cf6de6b8ad60b49ae64a1b42 Mon Sep 17 00:00:00 2001 From: Ben Whaley <503816+bwhaley@users.noreply.github.com> Date: Mon, 13 May 2024 15:08:14 -0700 Subject: [PATCH] Explain name collisions --- test/alternat_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/alternat_test.go b/test/alternat_test.go index c822b23..aa6f33d 100644 --- a/test/alternat_test.go +++ b/test/alternat_test.go @@ -26,6 +26,11 @@ import ( "github.com/stretchr/testify/require" ) +// Maintainer's note: This test will currently cause name collisions if multiple tests run in parallel +// in the same account. This is because the test uses a fixed name prefix for resources. This could be fixed +// by using GetRandomStableRegion and updating some resources (such as IAM role and CloudWatch event name) +// to use a random suffix. + func TestAlternat(t *testing.T) { // Uncomment any of the following lines to skip that part of the test. // This is useful for iterating during test development.