@@ -795,7 +795,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
795
795
"endpoint" : "doesnotexist.invalid:443" ,
796
796
},
797
797
"kmip" : {
798
- "endpoint" : "doesnotexist.local :5698" ,
798
+ "endpoint" : "doesnotexist.invalid :5698" ,
799
799
},
800
800
}
801
801
@@ -819,9 +819,8 @@ func TestClientSideEncryptionProse(t *testing.T) {
819
819
"endpoint" : "kms.us-east-1.amazonaws.com:443" ,
820
820
}
821
821
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" ,
825
824
}
826
825
awsFailureInvalidEndpoint := map [string ]interface {}{
827
826
"region" : "us-east-1" ,
@@ -860,7 +859,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
860
859
}
861
860
kmipFailureInvalidEndpoint := map [string ]interface {}{
862
861
"keyId" : "1" ,
863
- "endpoint" : "doesnotexist.local :5698" ,
862
+ "endpoint" : "doesnotexist.invalid :5698" ,
864
863
}
865
864
866
865
const (
@@ -906,7 +905,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
906
905
},
907
906
{
908
907
name : "Case 4: aws failure with connection error" ,
909
- provider : "aws " ,
908
+ provider : "kmip " ,
910
909
masterKey : awsFailureConnectionError ,
911
910
errorSubstring : []string {errConnectionRefused , errWindowsTLSConnectionRefused },
912
911
testInvalidClientEncryption : false ,
@@ -1583,7 +1582,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
1583
1582
"endpoint" : "127.0.0.1:9001" ,
1584
1583
}
1585
1584
azureMasterKey := map [string ]interface {}{
1586
- "keyVaultEndpoint" : "doesnotexist.local " ,
1585
+ "keyVaultEndpoint" : "doesnotexist.invalid " ,
1587
1586
"keyName" : "foo" ,
1588
1587
}
1589
1588
gcpMasterKey := map [string ]interface {}{
0 commit comments