Skip to content

Commit 2c51a7d

Browse files
committed
test: normalize timeout to 500
1 parent 7e97b4e commit 2c51a7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/z_issue8.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ describe('issue8', function() {
102102
uri: URI2,
103103
root: Root,
104104
collections: [ Collection ],
105-
callback: done
105+
callback: function(err) {
106+
107+
assert.ifError(err);
108+
setTimeout(done, 500); // time for mongod
109+
}
106110
});
107111
});
108112
});

0 commit comments

Comments
 (0)