0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-38644 Handle race condition while enumerating files in test

This commit is contained in:
Sara Golemon 2018-12-14 18:13:17 +00:00
parent 42bf3abdbf
commit bebb6e3548
No known key found for this signature in database
GPG Key ID: 4C450CE8EB5C4016

View File

@ -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());
})();