Skip to content

Commit 9ccf0af

Browse files
committed
http2: remove --expose-http2 flag from tests, etc
Remove the --expose-http2 flag from tests and benchmarks
1 parent 307ea52 commit 9ccf0af

File tree

131 files changed

+81
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+81
-138
lines changed

β€Žbenchmark/http2/headers.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const PORT = common.PORT;
66
const bench = common.createBenchmark(main, {
77
n: [1e3],
88
nheaders: [0, 10, 100, 1000],
9-
}, { flags: ['--expose-http2', '--no-warnings'] });
9+
}, { flags: ['--no-warnings'] });
1010

1111
function main(conf) {
1212
const n = +conf.n;

β€Žbenchmark/http2/respond-with-fd.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const bench = common.createBenchmark(main, {
1111
requests: [100, 1000, 10000, 100000, 1000000],
1212
streams: [100, 200, 1000],
1313
clients: [1, 2]
14-
}, { flags: ['--expose-http2', '--no-warnings'] });
14+
}, { flags: ['--no-warnings'] });
1515

1616
function main(conf) {
1717

β€Žbenchmark/http2/simple.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const bench = common.createBenchmark(main, {
1212
requests: [100, 1000, 10000, 100000],
1313
streams: [100, 200, 1000],
1414
clients: [1, 2]
15-
}, { flags: ['--expose-http2', '--no-warnings'] });
15+
}, { flags: ['--no-warnings'] });
1616

1717
function main(conf) {
1818
const n = +conf.requests;

β€Žbenchmark/http2/write.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const bench = common.createBenchmark(main, {
77
streams: [100, 200, 1000],
88
length: [64 * 1024, 128 * 1024, 256 * 1024, 1024 * 1024],
99
size: [100000]
10-
}, { flags: ['--expose-http2', '--no-warnings'] });
10+
}, { flags: ['--no-warnings'] });
1111

1212
function main(conf) {
1313
const m = +conf.streams;

β€Žtest/parallel/test-http2-binding.jsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const common = require('../common');

β€Žtest/parallel/test-http2-client-data-end.jsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const common = require('../common');

β€Žtest/parallel/test-http2-client-destroy.jsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const common = require('../common');

β€Žtest/parallel/test-http2-client-onconnect-errors.jsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const {

β€Žtest/parallel/test-http2-client-priority-before-connect.jsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const common = require('../common');

β€Žtest/parallel/test-http2-client-promisify-connect.jsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const common = require('../common');

0 commit comments

Comments
Β (0)