diff --git a/test/protocol.js b/test/protocol.js index 8c6f288..33b9aa8 100644 --- a/test/protocol.js +++ b/test/protocol.js @@ -247,7 +247,7 @@ describe("Protocol", () => { const buf = Buffer.from(encodeCommand(cmd.getAsset, self.data.guid, self.data.hash), 'ascii'); // queue up a bunch of GET requests to ensure there will be at least one open stream when we quit - for(let i=0;i<10;i++) { + for(let i=0;i<100;i++) { await new Promise(resolve => { client.write(buf, () => resolve()); });