summaryrefslogtreecommitdiff
path: root/jstests/ssl
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2020-03-05 14:36:51 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-05 20:11:49 +0000
commit4853e7203b9e98f23869e045b47a71761f4426d9 (patch)
tree66e66707d73f9811a6edad4c57f6ec3960fae667 /jstests/ssl
parentab2ec5c8d4f4b203c4ad9a39a20480a1fc9ff1d4 (diff)
downloadmongo-4853e7203b9e98f23869e045b47a71761f4426d9.tar.gz
SERVER-46657 Fix ssl_cert_selector_apple.js for new log structure
Diffstat (limited to 'jstests/ssl')
-rw-r--r--jstests/ssl/ssl_cert_selector_apple.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/ssl/ssl_cert_selector_apple.js b/jstests/ssl/ssl_cert_selector_apple.js
index 2de17aea5f5..aa836e74d2e 100644
--- a/jstests/ssl/ssl_cert_selector_apple.js
+++ b/jstests/ssl/ssl_cert_selector_apple.js
@@ -47,8 +47,8 @@ requireSSLProvider('apple', function() {
return log.search('Certificate selector returned no results') >= 0;
}
// Valid search criteria should show our Subject Names.
- const certOK = log.search('Server Certificate Name: ' + cert.name) >= 0;
- const clusOK = log.search('Client Certificate Name: ' + cluster.name) >= 0;
+ const certOK = log.search('\"config_serverSubjectName\":\"' + cert.name) >= 0;
+ const clusOK = log.search('\"config_clientSubjectName\":\"' + cluster.name) >= 0;
return certOK && clusOK;
}, "Starting Mongod with " + tojson(opts), 10000);