-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: do not run benchmark tests on 'make test' #34434
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b0b52b2
test: fix flaky test-watch-file
Trott f8eaeb0
zlib: switch to lazy init for zlib streams
puzpuzpuz 07b3aae
doc: add HarshithaKP to collaborators
HarshithaKP f4f191b
build: define NODE_EXPERIMENTAL_QUIC in mkcodecache and node_mksnapshot
joyeecheung 7603c7e
worker: set trackUnmanagedFds to true by default
addaleax bfef588
doc: add author-ready label ref to onboarding doc
ruyadorno 90ee98a
2020-07-22, Version 12.18.3 'Erbium' (LTS)
codebytere 3caa2e2
build: do not run benchmark tests on 'make test'
Trott File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,6 +311,8 @@ For information about the governance of the Node.js project, see | |
**Gireesh Punathil** <[email protected]> (he/him) | ||
* [guybedford](https://github.com/guybedford) - | ||
**Guy Bedford** <[email protected]> (he/him) | ||
* [HarshithaKP](https://github.com/HarshithaKP) - | ||
**Harshitha K P** <[email protected]> (she/her) | ||
* [hashseed](https://github.com/hashseed) - | ||
**Yang Guo** <[email protected]> (he/him) | ||
* [himself65](https://github.com/himself65) - | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
'use strict'; | ||
const common = require('../common'); | ||
const assert = require('assert'); | ||
const zlib = require('zlib'); | ||
|
||
// Tests that zlib streams support .reset() and .params() | ||
// before the first write. That is important to ensure that | ||
// lazy init of zlib native library handles these cases. | ||
|
||
for (const fn of [ | ||
(z, cb) => { | ||
z.reset(); | ||
cb(); | ||
}, | ||
(z, cb) => z.params(0, zlib.constants.Z_DEFAULT_STRATEGY, cb) | ||
]) { | ||
const deflate = zlib.createDeflate(); | ||
const inflate = zlib.createInflate(); | ||
|
||
deflate.pipe(inflate); | ||
|
||
const output = []; | ||
inflate | ||
.on('error', (err) => { | ||
assert.ifError(err); | ||
}) | ||
.on('data', (chunk) => output.push(chunk)) | ||
.on('end', common.mustCall( | ||
() => assert.deepStrictEqual(Buffer.concat(output).toString(), 'abc'))); | ||
|
||
fn(deflate, () => { | ||
fn(inflate, () => { | ||
deflate.write('abc'); | ||
deflate.end(); | ||
}); | ||
}); | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW the reason we split tests into
CI_JS_SUITES
andCI_NATIVE_SUITES
was that to accommodate the arm-fanned setup we split the tests intotest-ci-native
(requires a build toolchain set up to build the native addons) andtest-ci-js
(which "should not use a native compiler at all" (see comment in Makefile)).For testing outside of the CI we don't have the same split in Makefile test targets, so you could optionally have a single make variable instead of two.