Skip to content

Commit ba78e7d

Browse files
Merge branch 'release/2.0' of github.com:mongodb/mongo-go-driver into release/2.0
2 parents 509ccd4 + f0f3074 commit ba78e7d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

internal/integration/client_side_encryption_prose_test.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
795795
"endpoint": "doesnotexist.invalid:443",
796796
},
797797
"kmip": {
798-
"endpoint": "doesnotexist.local:5698",
798+
"endpoint": "doesnotexist.invalid:5698",
799799
},
800800
}
801801

@@ -819,9 +819,8 @@ func TestClientSideEncryptionProse(t *testing.T) {
819819
"endpoint": "kms.us-east-1.amazonaws.com:443",
820820
}
821821
awsFailureConnectionError := map[string]interface{}{
822-
"region": "us-east-1",
823-
"key": "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0",
824-
"endpoint": "kms.us-east-1.amazonaws.com:12345",
822+
"keyId": "1",
823+
"endpoint": "localhost:12345",
825824
}
826825
awsFailureInvalidEndpoint := map[string]interface{}{
827826
"region": "us-east-1",
@@ -860,7 +859,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
860859
}
861860
kmipFailureInvalidEndpoint := map[string]interface{}{
862861
"keyId": "1",
863-
"endpoint": "doesnotexist.local:5698",
862+
"endpoint": "doesnotexist.invalid:5698",
864863
}
865864

866865
const (
@@ -906,7 +905,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
906905
},
907906
{
908907
name: "Case 4: aws failure with connection error",
909-
provider: "aws",
908+
provider: "kmip",
910909
masterKey: awsFailureConnectionError,
911910
errorSubstring: []string{errConnectionRefused, errWindowsTLSConnectionRefused},
912911
testInvalidClientEncryption: false,
@@ -1583,7 +1582,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
15831582
"endpoint": "127.0.0.1:9001",
15841583
}
15851584
azureMasterKey := map[string]interface{}{
1586-
"keyVaultEndpoint": "doesnotexist.local",
1585+
"keyVaultEndpoint": "doesnotexist.invalid",
15871586
"keyName": "foo",
15881587
}
15891588
gcpMasterKey := map[string]interface{}{

0 commit comments

Comments
 (0)