From 64da4cb4b621fc0f87dc6b689b192db2340a7203 Mon Sep 17 00:00:00 2001 From: Samantha Coyle Date: Tue, 19 Nov 2024 21:11:31 -0600 Subject: [PATCH] fix(tests): rm test that I accounted for elsewhere Signed-off-by: Samantha Coyle --- common/component/kafka/metadata_test.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/common/component/kafka/metadata_test.go b/common/component/kafka/metadata_test.go index e53b1721d8..acb6eb1208 100644 --- a/common/component/kafka/metadata_test.go +++ b/common/component/kafka/metadata_test.go @@ -376,20 +376,6 @@ func TestTls(t *testing.T) { }) } -func TestAwsIam(t *testing.T) { - k := getKafka() - - t.Run("missing aws region", func(t *testing.T) { - m := getBaseMetadata() - m[authType] = awsIAMAuthType - meta, err := k.getKafkaMetadata(m) - require.Error(t, err) - require.Nil(t, meta) - - require.Equal(t, "missing AWS region property 'awsRegion' for authType 'awsiam'", err.Error()) - }) -} - func TestMetadataConsumerFetchValues(t *testing.T) { k := getKafka() m := getCompleteMetadata()