http2: remove --expose-http2 flag from tests, etc

Remove the --expose-http2 flag from tests and benchmarks

PR-URL: https://github.com/nodejs/node/pull/15685
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
This commit is contained in:
James M Snell authored and Evan Lucas committed 2017-10-23 08:59:06 -05:00
1 parent 57ab6e2a10
commit e01daec4e1
131 files changed
+81 -138

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ const PORT = common.PORT;
const bench = common.createBenchmark(main, {
n: [1e3],
nheaders: [0, 10, 100, 1000],
}, { flags: ['--expose-http2', '--no-warnings'] });
}, { flags: ['--no-warnings'] });
function main(conf) {
const n = +conf.n;
+1 -1
View File
@@ -11,7 +11,7 @@ const bench = common.createBenchmark(main, {
requests: [100, 1000, 10000, 100000, 1000000],
streams: [100, 200, 1000],
clients: [1, 2]
}, { flags: ['--expose-http2', '--no-warnings'] });
}, { flags: ['--no-warnings'] });
function main(conf) {
+1 -1
View File
@@ -12,7 +12,7 @@ const bench = common.createBenchmark(main, {
requests: [100, 1000, 10000, 100000],
streams: [100, 200, 1000],
clients: [1, 2]
}, { flags: ['--expose-http2', '--no-warnings'] });
}, { flags: ['--no-warnings'] });
function main(conf) {
const n = +conf.requests;
+1 -1
View File
@@ -7,7 +7,7 @@ const bench = common.createBenchmark(main, {
streams: [100, 200, 1000],
length: [64 * 1024, 128 * 1024, 256 * 1024, 1024 * 1024],
size: [100000]
}, { flags: ['--expose-http2', '--no-warnings'] });
}, { flags: ['--no-warnings'] });
function main(conf) {
const m = +conf.streams;
-1
View File
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const {
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
// Verifies that uploading data from a client works
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2 --expose-internals
// Flags: --expose-internals
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2 --expose-internals
// Flags: --expose-internals
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const {
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const { mustCall,
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
-1
View File
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const { mustCall, hasCrypto, skip, expectsError } = require('../common');
-1
View File
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
// Tests http2.connect()
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
@@ -1,4 +1,3 @@
// Flags: --expose-http2
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
// Tests opening 100 concurrent simultaneous uploading streams over a single
-8
View File
@@ -1,8 +0,0 @@
// The --expose-http2 flag is not set
'use strict';
require('../common');
const assert = require('assert');
assert.throws(() => require('http2'), // eslint-disable-line crypto-check
/^Error: Cannot find module 'http2'$/);
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
// Tests the ability to minimally request a byte range with respondWithFD
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
// Response splitting is no longer an issue with HTTP/2. The underlying
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
@@ -1,4 +1,4 @@
// Flags: --expose-http2
//
'use strict';
const common = require('../common');
+1 -1
View File
@@ -1,4 +1,4 @@
// Flags: --expose-http2 --expose-internals
// Flags: --expose-internals
'use strict';
const common = require('../common');
Loaded 100 of 131 files, more files were not shown because too many files have changed in this diff. Show more