-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
test: fix flaky test-string-decode.js on x86 #48750
Merged
nodejs-github-bot
merged 1 commit into
nodejs:main
from
JaneaSystems:mefi-test-string-decoder-x86-fix
Jul 14, 2023
Merged
test: fix flaky test-string-decode.js on x86 #48750
nodejs-github-bot
merged 1 commit into
nodejs:main
from
JaneaSystems:mefi-test-string-decoder-x86-fix
Jul 14, 2023
Conversation
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
Removes flakiness from the mentioned test due to the x86 memory limit
nodejs-github-bot
added
needs-ci
PRs that need a full CI run.
test
Issues and PRs related to the tests.
labels
Jul 12, 2023
lpinca
approved these changes
Jul 12, 2023
Fast-track has been requested by @lpinca. Please 👍 to approve. |
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Jul 12, 2023
debadree25
approved these changes
Jul 12, 2023
anonrig
approved these changes
Jul 12, 2023
debadree25
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
Jul 14, 2023
lpinca
added
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Jul 14, 2023
nodejs-github-bot
removed
the
commit-queue
Add this label to land a pull request using GitHub Actions.
label
Jul 14, 2023
Landed in 1c66b81 |
Ceres6
pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: nodejs#48750 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
Ceres6
pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: nodejs#48750 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
UlisesGascon
pushed a commit
to UlisesGascon/node
that referenced
this pull request
Aug 14, 2023
Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: nodejs#48750 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
RafaelGSS
pushed a commit
that referenced
this pull request
Aug 15, 2023
Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: #48750 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
Merged
ruyadorno
pushed a commit
that referenced
this pull request
Sep 12, 2023
Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: #48750 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
ruyadorno
pushed a commit
that referenced
this pull request
Sep 13, 2023
Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: #48750 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
Merged
ruyadorno
pushed a commit
that referenced
this pull request
Sep 17, 2023
Removes flakiness from the mentioned test due to the x86 memory limit PR-URL: #48750 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Debadree Chatterjee <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
fast-track
PRs that do not need to wait for 48 hours to land.
needs-ci
PRs that need a full CI run.
test
Issues and PRs related to the tests.
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.
I first noticed
test-string-decoder
failing in CI here. Although it failed with VS2022-produced Node.js binaries, when I tested locally I noticed it was coming up with the same failure on VS2019 too. The only constant is that it happens sometimes and only on x86.After investigating, this is what I found: in some cases, this error was thrown instead of the expected one. Further down the call stack, this line is the root of the issue. It uses
std::numeric_limits<size_t>::max()
which differs on x64 and x86, so it's much easier for this condition to be fulfilled on x86 than on x64.The change is simple. It just decreases the buffer size on x86. @targos since you worked on this part of the code before (even fixing the same issue in #36795), I'd be glad to hear your opinion on this. To me, it seemed I just changed one magic number with another, but if there is more context to it please share.
This flaky test is the only thing preventing us to enable the JS test suites for
VS2022-x86
, so it would be very good to land this ASAP.