Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request #80 from Unity-Technologies/bugfix/fix-close-file-…
Browse files Browse the repository at this point in the history
…streams-test

Attempt to fix test on Travis CI
  • Loading branch information
stephen-palmer committed Dec 14, 2018
2 parents eef126d + 702ed6f commit 3dde352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
});
Expand Down

0 comments on commit 3dde352

Please sign in to comment.