Make tests a bit more robusto

This commit is contained in:
Brian M. Carlson
2014-09-15 20:56:34 -04:00
parent 33f6ecc11b
commit d6eab36b66
3 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ var testRange = function(top) {
fromClient.query('SELECT COUNT(*) FROM numbers', function(err, res) {
assert.ifError(err)
assert.equal(res.rows[0].count, top, 'expected ' + top + ' rows but got ' + res.rows[0].count)
console.log('found ', res.rows.length, 'rows')
//console.log('found ', res.rows.length, 'rows')
countDone()
var firstRowDone = gonna('have correct result')
assert.equal(stream.rowCount, top, 'should have rowCount ' + top + ' ')