Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit 6a40d08

Browse files
authored
aws: Add missing fields for config test. (#3740)
Adds additional tests for aws.Config field merging.
1 parent 083706b commit 6a40d08

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

aws/config_test.go

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,22 @@ func TestCopyReturnsNewInstance(t *testing.T) {
4949
var mergeTestZeroValueConfig = Config{}
5050

5151
var mergeTestConfig = Config{
52-
Credentials: testCredentials,
53-
Endpoint: String("MergeTestEndpoint"),
54-
Region: String("MERGE_TEST_AWS_REGION"),
55-
DisableSSL: Bool(true),
56-
HTTPClient: http.DefaultClient,
57-
LogLevel: LogLevel(LogDebug),
58-
Logger: NewDefaultLogger(),
59-
MaxRetries: Int(10),
60-
DisableParamValidation: Bool(true),
61-
DisableComputeChecksums: Bool(true),
62-
S3ForcePathStyle: Bool(true),
52+
Credentials: testCredentials,
53+
Endpoint: String("MergeTestEndpoint"),
54+
Region: String("MERGE_TEST_AWS_REGION"),
55+
DisableSSL: Bool(true),
56+
HTTPClient: http.DefaultClient,
57+
LogLevel: LogLevel(LogDebug),
58+
Logger: NewDefaultLogger(),
59+
MaxRetries: Int(10),
60+
DisableParamValidation: Bool(true),
61+
DisableComputeChecksums: Bool(true),
62+
DisableEndpointHostPrefix: Bool(true),
63+
EnableEndpointDiscovery: Bool(true),
64+
EnforceShouldRetryCheck: Bool(true),
65+
DisableRestProtocolURICleaning: Bool(true),
66+
S3ForcePathStyle: Bool(true),
67+
LowerCaseHeaderMaps: Bool(true),
6368
}
6469

6570
var mergeTests = []struct {

0 commit comments

Comments
 (0)