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-22 13:15:43 -0400
commitc1650e3a6df1196f0c2ebf0824d630ace8db0b4e (patch)
tree2a7e289b9a2d0182e7e8478263a612dccb426841
parent140d16718a0894b818418f6238836d3fcb4072bf (diff)
downloadmongo-c1650e3a6df1196f0c2ebf0824d630ace8db0b4e.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());
})();