Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions internal/integration/client_side_encryption_prose_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
"endpoint": "doesnotexist.invalid:443",
},
"kmip": {
"endpoint": "doesnotexist.local:5698",
"endpoint": "doesnotexist.invalid:5698",
},
}

Expand All @@ -819,9 +819,8 @@ func TestClientSideEncryptionProse(t *testing.T) {
"endpoint": "kms.us-east-1.amazonaws.com:443",
}
awsFailureConnectionError := map[string]interface{}{
"region": "us-east-1",
"key": "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0",
"endpoint": "kms.us-east-1.amazonaws.com:12345",
"keyId": "1",
"endpoint": "localhost:12345",
}
awsFailureInvalidEndpoint := map[string]interface{}{
"region": "us-east-1",
Expand Down Expand Up @@ -860,7 +859,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
}
kmipFailureInvalidEndpoint := map[string]interface{}{
"keyId": "1",
"endpoint": "doesnotexist.local:5698",
"endpoint": "doesnotexist.invalid:5698",
}

const (
Expand Down Expand Up @@ -906,7 +905,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
},
{
name: "Case 4: aws failure with connection error",
provider: "aws",
provider: "kmip",
masterKey: awsFailureConnectionError,
errorSubstring: []string{errConnectionRefused, errWindowsTLSConnectionRefused},
testInvalidClientEncryption: false,
Expand Down Expand Up @@ -1583,7 +1582,7 @@ func TestClientSideEncryptionProse(t *testing.T) {
"endpoint": "127.0.0.1:9001",
}
azureMasterKey := map[string]interface{}{
"keyVaultEndpoint": "doesnotexist.local",
"keyVaultEndpoint": "doesnotexist.invalid",
"keyName": "foo",
}
gcpMasterKey := map[string]interface{}{
Expand Down
Loading