We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93d96da commit 14148c8Copy full SHA for 14148c8
1 file changed
test/each.test.js
@@ -11,6 +11,8 @@ describe('each', function() {
11
var total = 100000;
12
var retrieved = 0;
13
14
+ // assert fails sometimes if previous test is still running & blocking.
15
+ // so wait until it is finished.
16
db.wait(function() {
17
db.each('SELECT id, txt FROM foo LIMIT 0, ?', total, function(err, row) {
18
if (err) throw err;
0 commit comments