Skip to content

Commit a897ceb

Browse files
committed
CXX-2483 fix CSFLE custom endpoint Case 5 (#855)
1 parent d810b69 commit a897ceb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mongocxx/test/client_side_encryption.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,15 +1127,15 @@ TEST_CASE("Custom endpoint", "[client_side_encryption]") {
11271127
// key: "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0",
11281128
// endpoint: "kms.us-east-2.amazonaws.com"
11291129
// }
1130-
// Expect this to fail with an exception with a message containing the string: "us-east-1"
1130+
// Expect this to fail with an exception.
11311131
auto endpoint_error_masterkey =
11321132
document{} << "region"
11331133
<< "us-east-1"
11341134
<< "key"
11351135
<< "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0"
11361136
<< "endpoint"
11371137
<< "kms.us-east-2.amazonaws.com" << finalize;
1138-
_run_endpoint_test(&client_encryption, endpoint_error_masterkey.view(), {{"us-east-1"}});
1138+
_run_endpoint_test(&client_encryption, endpoint_error_masterkey.view(), {{""}});
11391139

11401140
// Call client_encryption.createDataKey() with "aws" as the provider and the following
11411141
// masterKey:

0 commit comments

Comments
 (0)