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
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void setUp() {
put("endpoint", "doesnotexist.invalid:443");
}});
put("kmip", new HashMap<String, Object>() {{
put("endpoint", "doesnotexist.local:5698");
put("endpoint", "doesnotexist.invalid:5698");
}});
}};

Expand Down Expand Up @@ -189,12 +189,11 @@ public static Collection<Object[]> data() {
+ " endpoint: \"kms.us-east-1.amazonaws.com:443\""
+ "}"),
false, null, null, null});
data.add(new Object[]{"4. [aws] invalid amazon region in endpoint",
"aws",
data.add(new Object[]{"4. [kmip] Call client_encryption.createDataKey() and the following masterKey",
"kmip",
BsonDocument.parse("{\n"
+ " region: \"us-east-1\",\n"
+ " key: \"arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0\",\n"
+ " endpoint: \"kms.us-east-1.amazonaws.com:12345\"\n"
+ " \"keyId\": \"1\",\n"
+ " \"endpoint\": \"localhost:12345\""
+ "}"),
false, MongoClientException.class, ConnectException.class, "Connection refused"});
data.add(new Object[]{"5. [aws] invalid endpoint host",
Expand Down Expand Up @@ -260,7 +259,7 @@ public static Collection<Object[]> data() {
"kmip",
BsonDocument.parse("{\n"
+ " \"keyId\": \"1\",\n"
+ " \"endpoint\": \"doesnotexist.local:5698\"\n"
+ " \"endpoint\": \"doesnotexist.invalid:5698\"\n"
+ "}"),
false, MongoClientException.class, UnknownHostException.class, null});
return data;
Expand Down