| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Background:
With this constellation, the test suite failed with [ 2208s] not ok 2407 parallel/test-process-versions
[ 2208s] ---
[ 2208s] duration_ms: 388.41800
[ 2208s] severity: fail
[ 2208s] exitcode: 1
[ 2208s] stack: |-
[ 2208s] node:assert:1026
[ 2208s] throw err;
[ 2208s] ^
[ 2208s]
[ 2208s] AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^\d+(?:\.\d+){2,3}(?:-.*)?$/. Input:
[ 2208s]
[ 2208s] '1.3'
[ 2208s]
[ 2208s] at Object.<anonymous> (/home/abuild/rpmbuild/BUILD/node-v20.8.1/test/parallel/test-process-versions.js:64:8)
[ 2208s] at Module._compile (node:internal/modules/cjs/loader:1241:14)
[ 2208s] at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
[ 2208s] at Module.load (node:internal/modules/cjs/loader:1091:32)
[ 2208s] at Module._load (node:internal/modules/cjs/loader:938:12)
[ 2208s] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
[ 2208s] at node:internal/main/run_main_module:23:47 {
[ 2208s] generatedMessage: true,
[ 2208s] code: 'ERR_ASSERTION',
[ 2208s] actual: '1.3',
[ 2208s] expected: /^\d+(?:\.\d+){2,3}(?:-.*)?$/,
[ 2208s] operator: 'match'
[ 2208s] }
|
Sorry, something went wrong.
In the past, zlib versions had major.minor.micro formats, but with 1.3 this has been changed. Change the test code to accept one, two, or three elements past the major version.
|
I think a better approach would be to skip the assertion when Node.js is built with the --shared-zlib option as the version might not match even with the proposed regex. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Can you please fix the commit message in accordance with our guidelines? Thank you. Neverming, commit message is ok. I was tricked by PR title. |
Sorry, something went wrong.
Commit message looks okay (it was already changed from the PR title). |
Sorry, something went wrong.
Sorry, something went wrong.
My bad - that was the 'original' commit message, saw the bot complaining about this and rewrote it - hopefully to comply |
Sorry, something went wrong.
Sorry, something went wrong.
In the past, zlib versions had major.minor.micro formats, but with 1.3 this has been changed. Change the test code to accept one, two, or three elements past the major version. PR-URL: #50364 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
In the past, zlib versions had major.minor.micro formats, but with 1.3 this has been changed. Change the test code to accept one, two, or three elements past the major version. PR-URL: #50364 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
In the past, zlib versions had major.minor.micro formats, but with 1.3 this has been changed. Change the test code to accept one, two, or three elements past the major version. PR-URL: #50364 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
In the past, zlib versions had major.minor.micro formats, but with 1.3 this has been changed. Change the test code to accept one, two, or three elements past the major version. PR-URL: #50364 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
In the past, zlib versions had major.minor.micro formats, but with 1.3 this has been changed. Change the test code to accept one, two, or three elements past the major version. PR-URL: nodejs/node#50364 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
In the past, zlib versions had major.minor.micro formats, but with 1.3 this has been changed. Change the test code to accept one, two, or three elements past the major version. PR-URL: nodejs/node#50364 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
| Back | FazBrowse Home | New Git URL |
Change the test code to accept one, two, or three elements past the major version