Fixing UT on mac

This commit is contained in:
Hari Krishna Reddy Juturu 2017-05-04 11:10:57 -07:00
parent 8a5aa04756
commit 3c71f542a8

View file

@ -12,12 +12,12 @@ describe('process module', function () {
describe('process.getIOCounters()', function () {
it('returns an io counters object', function () {
var ioCounters = process.getIOCounters()
assert.ok(ioCounters.readOperationCount > 0, 'read operation count not > 0')
assert.ok(ioCounters.writeOperationCount > 0, 'write operation count not > 0')
assert.ok(ioCounters.otherOperationCount > 0, 'other operation count not > 0')
assert.ok(ioCounters.readTransferCount > 0, 'read transfer count not > 0')
assert.ok(ioCounters.writeTransferCount > 0, 'write transfer count not > 0')
assert.ok(ioCounters.otherTransferCount > 0, 'other transfer count not > 0')
assert.equal(typeof ioCounters.readOperationCount, 'number')
assert.equal(typeof ioCounters.writeOperationCount, 'number')
assert.equal(typeof ioCounters.otherOperationCount, 'number')
assert.equal(typeof ioCounters.readTransferCount, 'number')
assert.equal(typeof ioCounters.writeTransferCount, 'number')
assert.equal(typeof ioCounters.otherTransferCount, 'number')
})
})
})