fixing mac ut failure

This commit is contained in:
HariJ 2017-04-27 11:09:27 -07:00 committed by Hari Krishna Reddy Juturu
parent 3d12440a4a
commit 81bd9fa3a2
2 changed files with 5 additions and 2 deletions

View file

@ -539,7 +539,8 @@ describe('app module', function () {
const appMemoryInfo = app.getAppMemoryInfo()
assert.ok(appMemoryInfo.length > 0, 'App memory info object is not > 0')
assert.ok(appMemoryInfo[0].memory.workingSetSize > 0, 'working set size is not > 0')
assert.ok(appMemoryInfo[0].memory.peakWorkingSetSize > 0, 'peak working set size is not > 0')
assert.ok(appMemoryInfo[0].memory.privateBytes > 0, 'private bytes is not > 0')
assert.ok(appMemoryInfo[0].memory.sharedBytes > 0, 'shared bytes is not > 0')
assert.ok(appMemoryInfo[0].pid > 0, 'pid is not > 0')
})
})