Skip to content

Commit

Permalink
make endpoint url integration test env-resilient (#2840)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucix-aws authored Oct 16, 2024
1 parent 3cc4661 commit 04e7aca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/internal/integrationtest/s3/endpoint_url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04e7aca

Please sign in to comment.