Skip to content

Commit 28ac11a

Browse files
authored
MONGOCRYPT-352 Update TestMongoCrypt to expect AWS KMS hostname with port. (#786)
1 parent ad5fd8a commit 28ac11a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/mongo/driver/mongocrypt/mongocrypt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func testKmsCtx(t *testing.T, ctx *Context, keyAltName bool) {
124124
kmsCtx := ctx.NextKmsContext()
125125
hostname, err := kmsCtx.HostName()
126126
noerr(t, err)
127-
expectedHost := "kms.us-east-1.amazonaws.com"
127+
expectedHost := "kms.us-east-1.amazonaws.com:443"
128128
if hostname != expectedHost {
129129
t.Fatalf("hostname mismatch; expected %s, got %s", expectedHost, hostname)
130130
}

0 commit comments

Comments
 (0)