From 088e7a5938871fcda6255aa3ae7127c0c7fc42ad Mon Sep 17 00:00:00 2001 From: Sai Raj MK Channagiri <92116010+schannag@users.noreply.github.com> Date: Fri, 13 Dec 2024 19:17:21 -0800 Subject: [PATCH] Update tests for Logs and Traces config as well as names --- .../signingroundtripper_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/extension/sigv4authextension/signingroundtripper_test.go b/extension/sigv4authextension/signingroundtripper_test.go index 6d9eb78c9ad5..107026d9e010 100644 --- a/extension/sigv4authextension/signingroundtripper_test.go +++ b/extension/sigv4authextension/signingroundtripper_test.go @@ -159,18 +159,18 @@ func TestInferServiceAndRegion(t *testing.T) { "region", }, { - "match_with_config", + "logs_service_and_region_match_with_no_config", req6, - &Config{Region: "region", Service: "service", AssumeRole: AssumeRole{ARN: "rolearn", STSRegion: "region"}}, - "service", - "region", + createDefaultConfig().(*Config), + "logs", + "us-east-1", }, { - "match_with_config", + "xray_service_and_region_match_with_no_config", req7, - &Config{Region: "region", Service: "service", AssumeRole: AssumeRole{ARN: "rolearn", STSRegion: "region"}}, - "service", - "region", + createDefaultConfig().(*Config), + "xray", + "us-east-1", }, }