diff options
Diffstat (limited to 'jstests/core/dbstats.js')
-rw-r--r-- | jstests/core/dbstats.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/core/dbstats.js b/jstests/core/dbstats.js index f3670c12552..7de7003b770 100644 --- a/jstests/core/dbstats.js +++ b/jstests/core/dbstats.js @@ -2,6 +2,7 @@ // // @tags: [ // requires_dbstats, +// requires_fcv_47, // ] (function() { @@ -53,6 +54,11 @@ assert(dbStats.hasOwnProperty("totalSize"), tojson(dbStats)); assert(dbStats.hasOwnProperty("indexSize"), tojson(dbStats)); if (isUsingPersistentStorage) { + assert(dbStats.hasOwnProperty("freeStorageSize"), tojson(dbStats)); + assert(dbStats.hasOwnProperty("indexFreeStorageSize"), tojson(dbStats)); + assert(dbStats.hasOwnProperty("totalFreeStorageSize"), tojson(dbStats)); + assert.eq(dbStats.freeStorageSize + dbStats.indexFreeStorageSize, dbStats.totalFreeStorageSize); + assert(dbStats.hasOwnProperty("fsUsedSize"), tojson(dbStats)); assert(dbStats.hasOwnProperty("fsTotalSize"), tojson(dbStats)); } |