Browse Source

test: remove unused variables from HTTPS tests

PR-URL: https://github.com/nodejs/node/pull/4426
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
v5.x
Rich Trott 9 years ago
committed by Jeremiah Senkpiel
parent
commit
684eb32072
  1. 1
      test/parallel/test-https-agent-disable-session-reuse.js
  2. 1
      test/parallel/test-https-agent-servername.js
  3. 1
      test/parallel/test-https-byteswritten.js
  4. 2
      test/parallel/test-https-eof-for-eom.js
  5. 2
      test/parallel/test-https-localaddress-bind-error.js
  6. 2
      test/parallel/test-https-socket-options.js
  7. 2
      test/parallel/test-https-strict.js
  8. 1
      test/parallel/test-https-timeout-server-2.js
  9. 1
      test/parallel/test-https-timeout-server.js
  10. 2
      test/parallel/test-https-timeout.js
  11. 1
      test/parallel/test-https-truncate.js

1
test/parallel/test-https-agent-disable-session-reuse.js

@ -10,7 +10,6 @@ if (!common.hasCrypto) {
const TOTAL_REQS = 2;
const https = require('https');
const crypto = require('crypto');
const fs = require('fs');

1
test/parallel/test-https-agent-servername.js

@ -1,6 +1,5 @@
'use strict';
var common = require('../common');
var assert = require('assert');
if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');

1
test/parallel/test-https-byteswritten.js

@ -2,7 +2,6 @@
var common = require('../common');
var assert = require('assert');
var fs = require('fs');
var http = require('http');
if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');

2
test/parallel/test-https-eof-for-eom.js

@ -53,7 +53,7 @@ var bodyBuffer = '';
server.listen(common.PORT, function() {
console.log('1) Making Request');
var req = https.get({
https.get({
port: common.PORT,
rejectUnauthorized: false
}, function(res) {

2
test/parallel/test-https-localaddress-bind-error.js

@ -28,7 +28,7 @@ var server = https.createServer(options, function(req, res) {
});
server.listen(common.PORT, '127.0.0.1', function() {
var req = https.request({
https.request({
host: 'localhost',
port: common.PORT,
path: '/',

2
test/parallel/test-https-socket-options.js

@ -1,6 +1,5 @@
'use strict';
var common = require('../common');
var assert = require('assert');
if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
@ -9,7 +8,6 @@ if (!common.hasCrypto) {
var https = require('https');
var fs = require('fs');
var exec = require('child_process').exec;
var http = require('http');

2
test/parallel/test-https-strict.js

@ -110,7 +110,7 @@ function makeReq(path, port, error, host, ca) {
path: path,
ca: ca
};
var whichCa = 0;
if (!ca) {
options.agent = agent0;
} else {

1
test/parallel/test-https-timeout-server-2.js

@ -9,7 +9,6 @@ if (!common.hasCrypto) {
}
var https = require('https');
var net = require('net');
var tls = require('tls');
var fs = require('fs');

1
test/parallel/test-https-timeout-server.js

@ -9,7 +9,6 @@ if (!common.hasCrypto) {
var https = require('https');
var net = require('net');
var tls = require('tls');
var fs = require('fs');
var clientErrors = 0;

2
test/parallel/test-https-timeout.js

@ -1,6 +1,5 @@
'use strict';
var common = require('../common');
var assert = require('assert');
if (!common.hasCrypto) {
console.log('1..0 # Skipped: missing crypto');
@ -9,7 +8,6 @@ if (!common.hasCrypto) {
var https = require('https');
var fs = require('fs');
var exec = require('child_process').exec;
var options = {
key: fs.readFileSync(common.fixturesDir + '/keys/agent1-key.pem'),

1
test/parallel/test-https-truncate.js

@ -9,7 +9,6 @@ if (!common.hasCrypto) {
var https = require('https');
var fs = require('fs');
var path = require('path');
var key = fs.readFileSync(common.fixturesDir + '/keys/agent1-key.pem');
var cert = fs.readFileSync(common.fixturesDir + '/keys/agent1-cert.pem');

Loading…
Cancel
Save