Skip to content

Commit

Permalink
Increase stdout buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
parrobe committed Nov 3, 2017
1 parent e24eda3 commit b986ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('MQ Docker sample', function() {
describe('when launching container', function () {
this.timeout(3000);
it('should display the license when LICENSE=view', function (done) {
exec(`docker run --rm --env LICENSE=view ${DOCKER_IMAGE}`, function (err, stdout, stderr) {
exec(`docker run --rm --env LICENSE=view ${DOCKER_IMAGE}`, {maxBuffer: 1024 * 500}, function (err, stdout, stderr) {
assert.equal(err.code, 1);
assert.isTrue(stdout.includes("terms"));
done();
Expand Down

0 comments on commit b986ce5

Please sign in to comment.