Skip to content

Commit e259ee0

Browse files
To resolve intermittent diff coming up on windows platform
1 parent 03d0a24 commit e259ee0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test-complete/nodejs-documents-read-chunk.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ describe('Binary documents test', function(){
7070
it('should read the binary in chunk', function(done){
7171
this.timeout(10000);
7272
var uri = '/test/write/somePdfFile.pdf';
73+
setTimeout(function() {
7374
dbReader.documents.read(uri).stream('chunked').
7475
on('data', function(data) {
7576
var strData = data.toString();
@@ -78,6 +79,7 @@ describe('Binary documents test', function(){
7879
on('end', function() {
7980
done();
8081
}, done);
82+
}, 3000);
8183
});
8284
it('should delete all documents', function(done){
8385
dbAdmin.documents.removeAll({

0 commit comments

Comments
 (0)