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: use conventional argument order in assertion #40591

Conversation

tniessen
Copy link
Member

@tniessen tniessen commented Oct 24, 2021

By convention (and per the names of the arguments), the expected value should be the second argument.

@tniessen tniessen added the test Issues and PRs related to the tests. label Oct 24, 2021
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 24, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@VoltrexKeyva VoltrexKeyva added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Oct 25, 2021
@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 25, 2021
@VoltrexKeyva VoltrexKeyva added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 25, 2021
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 25, 2021
@nodejs-github-bot

This comment has been minimized.

@VoltrexKeyva VoltrexKeyva removed the needs-ci PRs that need a full CI run. label Oct 25, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@jasnell jasnell added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 28, 2021
@nodejs-github-bot
Copy link
Collaborator

@github-actions github-actions bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Oct 28, 2021
@github-actions
Copy link
Contributor

Commit Queue failed
- Loading data for nodejs/node/pull/40591
✔  Done loading data for nodejs/node/pull/40591
----------------------------------- PR info ------------------------------------
Title      test: use conventional argument order in assertion (#40591)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     tniessen:test-buffer-fill-actual-expected-order -> nodejs:master
Labels     test, author ready
Commits    1
 - test: use conventional argument order in assertion
Committers 1
 - Tobias Nießen 
PR-URL: https://github.com/nodejs/node/pull/40591
Reviewed-By: Colin Ihrig 
Reviewed-By: Voltrex 
Reviewed-By: Rich Trott 
Reviewed-By: Michaël Zasso 
Reviewed-By: Luigi Pinca 
Reviewed-By: Trivikram Kamat 
Reviewed-By: Ruben Bridgewater 
Reviewed-By: James M Snell 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/40591
Reviewed-By: Colin Ihrig 
Reviewed-By: Voltrex 
Reviewed-By: Rich Trott 
Reviewed-By: Michaël Zasso 
Reviewed-By: Luigi Pinca 
Reviewed-By: Trivikram Kamat 
Reviewed-By: Ruben Bridgewater 
Reviewed-By: James M Snell 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Sun, 24 Oct 2021 21:58:40 GMT
   ✔  Approvals: 8
   ✔  - Colin Ihrig (@cjihrig) (TSC): https://github.com/nodejs/node/pull/40591#pullrequestreview-787557451
   ✔  - Voltrex (@VoltrexMaster): https://github.com/nodejs/node/pull/40591#pullrequestreview-787572367
   ✔  - Rich Trott (@Trott) (TSC): https://github.com/nodejs/node/pull/40591#pullrequestreview-787614687
   ✔  - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/40591#pullrequestreview-787647207
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/40591#pullrequestreview-787657637
   ✔  - Trivikram Kamat (@trivikr): https://github.com/nodejs/node/pull/40591#pullrequestreview-789555558
   ✔  - Ruben Bridgewater (@BridgeAR) (TSC): https://github.com/nodejs/node/pull/40591#pullrequestreview-791762513
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/40591#pullrequestreview-791932157
   ✔  Last GitHub Actions successful
   ℹ  Last Full PR CI on 2021-10-28T14:13:33Z: https://ci.nodejs.org/job/node-test-pull-request/40528/
- Querying data for job/node-test-pull-request/40528/
✔  Build data downloaded
- Querying failures of job/node-test-commit/49509/
✔  Data downloaded
   ✖  2 failure(s) on the last Jenkins CI run
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/1395092374

VoltrexKeyva pushed a commit that referenced this pull request Oct 28, 2021
PR-URL: #40591
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Voltrex <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@VoltrexKeyva
Copy link
Member

Landed in f7209ee

@richardlau
Copy link
Member

@VoltrexMaster Please in the future do not land PRs with failing CI.

In this particular case it's not worth reverting the land.

@VoltrexKeyva
Copy link
Member

@VoltrexMaster Please in the future do not land PRs with failing CI.

In this particular case it's not worth reverting the land.

Sorry, sometimes we land PRs without them fully passing the CI after many tries, not entirely sure if there was any problem landing this particular PR in this case, but will look forward to them fully passing it in the future. 😅

@richardlau
Copy link
Member

Sorry, sometimes we land PRs without them fully passing the CI after many tries

We should not be. The collaborator guide specifically calls out:

Do not land any pull requests without the necessary passing CI runs. A passing (green) GitHub Actions CI result is required. A passing (green or yellow) Jenkins CI is also required if the pull request contains changes that will affect the node binary. This is because GitHub Actions CI does not cover all the environments supported by Node.js.

If the CI's are constantly failing this needs to be raised as issues, investigated and addressed (at worst if it's failing tests they can marked flaky or a known issue).

targos pushed a commit that referenced this pull request Nov 6, 2021
PR-URL: #40591
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Voltrex <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@targos targos mentioned this pull request Nov 8, 2021
BethGriggs pushed a commit that referenced this pull request Nov 25, 2021
PR-URL: #40591
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Voltrex <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@BethGriggs BethGriggs mentioned this pull request Nov 26, 2021
1 task
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. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.