Skip to content

Commit

Permalink
Merge pull request #351 from JemyCheung/master
Browse files Browse the repository at this point in the history
to fix ci failure
  • Loading branch information
bachue authored Oct 18, 2019
2 parents ccb756e + 180eff8 commit 5c3f9c4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/rs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,10 @@ describe('test start bucket manager', function () {
bucketManager.listPrefixV2(bucket, {
prefix: 'test'
}, function (err, respBody, respInfo) {
should.not.exist(err);
console.log(JSON.stringify(respBody) + '\n');
// the irregular data return from Server that Cannot be converted by urllib to JSON Object
// so err !=null and you can judge respBody==null or err.res.statusCode==200
console.log(respBody + '\n');
console.log(JSON.stringify(respInfo));
respBody.should.have.keys('item');
respBody.item.should.have.keys('key', 'hash');
respBody.item.key.should.startWith('test');
done();
});
});
Expand Down

0 comments on commit 5c3f9c4

Please sign in to comment.