diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2020-05-05 17:45:46 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-06 00:48:45 +0000 |
commit | e500238a9ea3d5498ebffeb74a1aceac42eb2c1f (patch) | |
tree | 1d6e1c7e18c006c41c96fb337f9750c4ef718d63 /jstests/ssl | |
parent | 9c8701d1e1bdb09ad53b601a7d7922ed00a121e0 (diff) | |
download | mongo-e500238a9ea3d5498ebffeb74a1aceac42eb2c1f.tar.gz |
SERVER-47962 Use rawMongoProgramOutput instead of logfile
(cherry picked from commit d7683dcc56aabba18daae772311a31ff878d0d7c)
Diffstat (limited to 'jstests/ssl')
-rw-r--r-- | jstests/ssl/macos_encrypted_pem.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/jstests/ssl/macos_encrypted_pem.js b/jstests/ssl/macos_encrypted_pem.js index a154ca72d09..ca484fe2582 100644 --- a/jstests/ssl/macos_encrypted_pem.js +++ b/jstests/ssl/macos_encrypted_pem.js @@ -11,15 +11,12 @@ requireSSLProvider('apple', function() { sslMode: "requireSSL", sslPEMKeyPassword: "qwerty", sslCAFile: "jstests/libs/ca.pem", - useLogFiles: true, }); const mongod = MongoRunner.runMongod(config); assert(mongod === null, "MongoD unexpectedly started up"); - const logFile = cat(config.logFile); - assert.eq(logFile.includes( + assert.eq(rawMongoProgramOutput().includes( "Using encrypted PKCS#1/PKCS#8 PEM files is not supported on this platform"), - true, - logFile); + true); }); |