From 04e7aca073a0a7ed479aa37cad88a1cf58a979a1 Mon Sep 17 00:00:00 2001 From: Luc Talatinian <102624213+lucix-aws@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:09:08 -0400 Subject: [PATCH] make endpoint url integration test env-resilient (#2840) --- service/internal/integrationtest/s3/endpoint_url_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/service/internal/integrationtest/s3/endpoint_url_test.go b/service/internal/integrationtest/s3/endpoint_url_test.go index f220544e69f..7d6b4f75755 100644 --- a/service/internal/integrationtest/s3/endpoint_url_test.go +++ b/service/internal/integrationtest/s3/endpoint_url_test.go @@ -152,7 +152,9 @@ endpoint_url = https://global-cfg.com defer reset() loadopts := append(tt.LoadOpts, - config.WithSharedConfigFiles([]string{"test_shared_config"})) + config.WithSharedConfigFiles([]string{"test_shared_config"}), + config.WithSharedConfigProfile("default")) + cfg, err := config.LoadDefaultConfig(context.Background(), loadopts...) if err != nil { t.Fatalf("load config: %v", err)