Skip to content

Commit

Permalink
removing usages of expectResponseCount and responseCount
Browse files Browse the repository at this point in the history
  • Loading branch information
weewey committed Apr 27, 2017
1 parent 6306067 commit 755c4d9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/parallel/test-https-strict.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ server2.listen(0, listening());
server3.listen(0, listening());

const responseErrors = {};
let expectResponseCount = 0;
let responseCount = 0;
let pending = 0;


Expand Down Expand Up @@ -147,12 +145,10 @@ function makeReq(path, port, error, host, ca) {
options.headers = { host: host };
}
const req = https.get(options);
expectResponseCount++;
const server = port === server1.address().port ? server1 :
port === server2.address().port ? server2 :
port === server3.address().port ? server3 :
null;

if (!server) throw new Error('invalid port: ' + port);
server.expectCount++;

Expand Down

0 comments on commit 755c4d9

Please sign in to comment.