diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2018-12-14 18:13:17 +0000 |
---|---|---|
committer | Jonathan Reams <jbreams@mongodb.com> | 2019-03-22 13:15:43 -0400 |
commit | c1650e3a6df1196f0c2ebf0824d630ace8db0b4e (patch) | |
tree | 2a7e289b9a2d0182e7e8478263a612dccb426841 | |
parent | 140d16718a0894b818418f6238836d3fcb4072bf (diff) | |
download | mongo-c1650e3a6df1196f0c2ebf0824d630ace8db0b4e.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()); })(); |