Skip to content
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: skip test-benchmark-os.js on IBM i #50208

Closed
wants to merge 1 commit into from

Conversation

abmusse
Copy link
Contributor

@abmusse abmusse commented Oct 17, 2023

This change skips the entire test-benchmark-os.js suite on IBM i. Currently this is failing due to os.uptime call:

const uptime = require('os').uptime;

Instead of skipping the entire os benchmark suite, I would rather skip just the uptime benchmark
but I'm not sure how to achieve this. Anyone have any ideas to skip one of the os benchmarks?

CC
@nodejs/platform-ibmi
@richardlau
Fixes #50207

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Oct 17, 2023
@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 17, 2023
@richardlau richardlau added the ibm i Issues and PRs related to the IBM i platform. label Oct 17, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 17, 2023
@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhdawson mhdawson added the fast-track PRs that do not need to wait for 48 hours to land. label Oct 17, 2023
@github-actions
Copy link
Contributor

Fast-track has been requested by @mhdawson. Please 👍 to approve.

@mhdawson
Copy link
Member

I have an idea on how to be more specific, but think it's good to land this quickly to get the nightly build back to green.

@nodejs-github-bot
Copy link
Collaborator

@Uzlopak
Copy link
Contributor

Uzlopak commented Oct 17, 2023

I didnt know that the uptime is not working on ibm :/

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created the benchmark and it is not a critical benchmark. It was just for demonstrating that the corresponding PR improves the performance.

We.should simply skip it.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@abmusse
Copy link
Contributor Author

abmusse commented Oct 18, 2023

I didnt know that the uptime is not working on ibm :/
No worries 😄

I created the benchmark and it is not a critical benchmark. It was just for demonstrating that the corresponding PR improves the performance.

We.should simply skip it.

Yes we will look into how to skip this one individually but for now we will skip the benchmark until we get a patch ready.

mhdawson pushed a commit that referenced this pull request Oct 18, 2023
PR-URL: #50208
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
@mhdawson
Copy link
Member

Landed in 286fdaf

@mhdawson mhdawson closed this Oct 18, 2023
@abmusse abmusse deleted the test-skip-test-benchmark-os branch October 18, 2023 19:48
targos pushed a commit that referenced this pull request Oct 23, 2023
PR-URL: #50208
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Nov 1, 2023
PR-URL: nodejs#50208
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
targos pushed a commit that referenced this pull request Nov 11, 2023
PR-URL: #50208
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track PRs that do not need to wait for 48 hours to land. ibm i Issues and PRs related to the IBM i platform. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: benchmark/test-benchmark-os fails on IBM i
5 participants