diff options
Diffstat (limited to 'jstests/ssl/ssl_fips.js')
-rw-r--r-- | jstests/ssl/ssl_fips.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/ssl/ssl_fips.js b/jstests/ssl/ssl_fips.js index 9b3e4b94c96..47f148340d9 100644 --- a/jstests/ssl/ssl_fips.js +++ b/jstests/ssl/ssl_fips.js @@ -24,7 +24,10 @@ if (mongo != 0) { print("mongod failed to start, checking for FIPS support"); mongoOutput = rawMongoProgramOutput(); assert(mongoOutput.match(/this version of mongodb was not compiled with FIPS support/) || - mongoOutput.match(/FIPS_mode_set:fips mode not supported/)); + mongoOutput.match(/FIPS_mode_set:fips mode not supported/) || + // Ubuntu 16.04's OpenSSL produces an unexpected error message, remove this check when + // SERVER-24350 is resolved + mongoOutput.match(/error:00000000:lib\(0\):func\(0\):reason\(0\)/)); } else { // verify that auth works, SERVER-18051 md.getDB("admin").createUser({user: "root", pwd: "root", roles: ["root"]}); |