diff --git a/translator/translate/otel/processor/awsentity/translator_test.go b/translator/translate/otel/processor/awsentity/translator_test.go index 11b44e37f4..fb75ca8e1c 100644 --- a/translator/translate/otel/processor/awsentity/translator_test.go +++ b/translator/translate/otel/processor/awsentity/translator_test.go @@ -52,6 +52,7 @@ func TestTranslate(t *testing.T) { t.Setenv(config.RUN_IN_CONTAINER, config.RUN_IN_CONTAINER_TRUE) ecsutil.GetECSUtilSingleton().Region = "test" } else { + ecsutil.GetECSUtilSingleton().Region = "" context.CurrentContext().SetMode(testCase.mode) context.CurrentContext().SetKubernetesMode(testCase.kubernetesMode) }