Skip to content

Commit 04e7aca

Browse files
authored
make endpoint url integration test env-resilient (#2840)
1 parent 3cc4661 commit 04e7aca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

service/internal/integrationtest/s3/endpoint_url_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ endpoint_url = https://global-cfg.com
152152
defer reset()
153153

154154
loadopts := append(tt.LoadOpts,
155-
config.WithSharedConfigFiles([]string{"test_shared_config"}))
155+
config.WithSharedConfigFiles([]string{"test_shared_config"}),
156+
config.WithSharedConfigProfile("default"))
157+
156158
cfg, err := config.LoadDefaultConfig(context.Background(), loadopts...)
157159
if err != nil {
158160
t.Fatalf("load config: %v", err)

0 commit comments

Comments
 (0)