diff --git a/test/appendToStream_test.js b/test/appendToStream_test.js index d76a9a3..2c3d864 100644 --- a/test/appendToStream_test.js +++ b/test/appendToStream_test.js @@ -57,7 +57,7 @@ module.exports = { }, 'Append Large event': function(test) { test.expect(2); - const largeData = Buffer.alloc(3 * 1024 *1024, 1); + const largeData = Buffer.alloc(3 * 1024 *1024, " "); const event = client.createJsonEventData(uuid.v4(), {a: largeData.toString()}, null, 'largePayloadEvent'); this.conn.appendToStream(this.testStreamName, client.expectedVersion.any, event) diff --git a/test/readEvent_test.js b/test/readEvent_test.js index 0a5115d..365f1b5 100644 --- a/test/readEvent_test.js +++ b/test/readEvent_test.js @@ -112,7 +112,7 @@ module.exports = { 'Read a Large Event': function(test) { test.expect(8); var self = this; - const largeData = Buffer.alloc(3 * 1024 * 1024, 1); + const largeData = Buffer.alloc(3 * 1024 * 1024, " "); const largeEvent = client.createJsonEventData(uuid.v4(), { a: largeData.toString()