Skip to content

Commit e01daec

Browse files
jasnellevanlucas
authored andcommitted
http2: remove --expose-http2 flag from tests, etc
Remove the --expose-http2 flag from tests and benchmarks PR-URL: #15685 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
1 parent 57ab6e2 commit e01daec

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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

-1
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

-1
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

-1
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

-1
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

-1
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

-1
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-request-options-errors.js

-1
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-rststream-before-connect.js

-1
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-set-priority.js

-1
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-settings-before-connect.js

-1
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-shutdown-before-connect.js

-1
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-socket-destroy.js

-1
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-stream-destroy-before-connect.js

-1
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-unescaped-path.js

-1
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-upload.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
// Verifies that uploading data from a client works

test/parallel/test-http2-client-write-before-connect.js

-1
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-compat-errors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2 --expose-internals
1+
// Flags: --expose-internals
22
'use strict';
33

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

test/parallel/test-http2-compat-expect-continue-check.js

-1
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-compat-expect-continue.js

-1
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-compat-expect-handling.js

-1
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-compat-method-connect.js

-1
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-compat-serverrequest-end.js

-1
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-compat-serverrequest-headers.js

-1
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-compat-serverrequest-pause.js

-1
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-compat-serverrequest-pipe.js

-1
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-compat-serverrequest-settimeout.js

-1
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-compat-serverrequest-trailers.js

-1
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-compat-serverrequest.js

-1
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-compat-serverresponse-close.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2 --expose-internals
1+
// Flags: --expose-internals
22
'use strict';
33

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

test/parallel/test-http2-compat-serverresponse-createpushresponse.js

-1
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-compat-serverresponse-destroy.js

-1
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-compat-serverresponse-drain.js

-1
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-compat-serverresponse-end.js

-1
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-compat-serverresponse-finished.js

-1
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-compat-serverresponse-flushheaders.js

-1
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-compat-serverresponse-headers.js

-1
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-compat-serverresponse-settimeout.js

-1
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-compat-serverresponse-statuscode.js

-1
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-compat-serverresponse-statusmessage-property-set.js

-1
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-compat-serverresponse-statusmessage-property.js

-1
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-compat-serverresponse-statusmessage.js

-1
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-compat-serverresponse-trailers.js

-1
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-compat-serverresponse-write-no-cb.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const { mustCall,

test/parallel/test-http2-compat-serverresponse-writehead.js

-1
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-connect-method.js

-1
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-connect.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
const { mustCall, hasCrypto, skip, expectsError } = require('../common');

test/parallel/test-http2-cookies.js

-1
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-create-client-connect.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --expose-http2
21
'use strict';
32

43
// Tests http2.connect()

test/parallel/test-http2-create-client-secure-session.js

-1
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-create-client-session.js

-1
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-createsecureserver-nooptions.js

-1
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-createwritereq.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-date-header.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-dont-override.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-getpackedsettings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-goaway-opaquedata.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-head-request.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-https-fallback.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-info-headers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-max-concurrent-streams.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-methods.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-misused-pseudoheaders.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-multi-content-length.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-multiheaders-raw.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-multiheaders.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

test/parallel/test-http2-multiplex.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

44
// Tests opening 100 concurrent simultaneous uploading streams over a single

test/parallel/test-http2-noflag.js

-8
This file was deleted.

test/parallel/test-http2-options-max-headers-block-length.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --expose-http2
1+
//
22
'use strict';
33

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

0 commit comments

Comments
 (0)