diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2018-12-14 18:13:17 +0000 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2019-03-18 11:53:21 -0400 |
commit | aa196f6b8119c5404b6df2c194a3d92646ab068e (patch) | |
tree | 112c3c11d5a5dc687ea022da92e5043cad6644a3 | |
parent | 4ea844780f42c090841ceb61a0180171a7d5442e (diff) | |
download | mongo-aa196f6b8119c5404b6df2c194a3d92646ab068e.tar.gz |
SERVER-38644 Handle race condition while enumerating files in test
(cherry picked from commit bebb6e35482fd706cdfd89fe2c70a925faa47d42)
-rw-r--r-- | jstests/noPassthrough/umask.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/umask.js b/jstests/noPassthrough/umask.js index b787bb1f7f6..051148de613 100644 --- a/jstests/noPassthrough/umask.js +++ b/jstests/noPassthrough/umask.js @@ -73,8 +73,8 @@ // Restart the mongod with honorSystemUmask, all files should have the mode 0666 mongodOptions.setParameter = {honorSystemUmask: true}; conn = MongoRunner.runMongod(mongodOptions); + MongoRunner.stopMongod(conn); checkMask(conn.fullOptions.dbpath, permissiveUmask, false); - MongoRunner.stopMongod(conn); umask(oldUmask.valueOf()); })(); |