summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-12-14 18:13:17 +0000
committerJonathan Reams <jbreams@mongodb.com>2019-03-18 11:53:21 -0400
commitaa196f6b8119c5404b6df2c194a3d92646ab068e (patch)
tree112c3c11d5a5dc687ea022da92e5043cad6644a3
parent4ea844780f42c090841ceb61a0180171a7d5442e (diff)
downloadmongo-aa196f6b8119c5404b6df2c194a3d92646ab068e.tar.gz
SERVER-38644 Handle race condition while enumerating files in test
(cherry picked from commit bebb6e35482fd706cdfd89fe2c70a925faa47d42)
-rw-r--r--jstests/noPassthrough/umask.js2
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());
})();