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: remove hasOpenSSL3x utils #56164

Merged

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Dec 7, 2024

In favor of hasOpenSSL.

When I added hasOpenSSL() in #53456, the idea was to stop adding new functions for every OpenSSL version to common, and instead directly call, e.g.hasOpenSSL(3, 4) in the test.

Originally posted by @richardlau in #56160 (comment)

Let's remove those before the list grows larger.

Refs: https://github.com/nodejs/node/pull/56160/files#r1874118863

In favor of `hasOpenSSL`.
@aduh95 aduh95 requested a review from richardlau December 7, 2024 10:44
@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 Dec 7, 2024
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 7, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 7, 2024
@nodejs-github-bot
Copy link
Collaborator

Copy link

codecov bot commented Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.00%. Comparing base (9c046ea) to head (52e9327).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #56164   +/-   ##
=======================================
  Coverage   88.00%   88.00%           
=======================================
  Files         656      656           
  Lines      189131   189133    +2     
  Branches    36009    36005    -4     
=======================================
+ Hits       166439   166450   +11     
- Misses      15853    15855    +2     
+ Partials     6839     6828   -11     

see 28 files with indirect coverage changes

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Dec 7, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 9, 2024
@nodejs-github-bot nodejs-github-bot merged commit 3851edf into nodejs:main Dec 9, 2024
72 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 3851edf

@aduh95 aduh95 deleted the test-remove-hasOpenSSL3x-utils branch December 9, 2024 11:05
aduh95 added a commit that referenced this pull request Dec 10, 2024
In favor of `hasOpenSSL`.

PR-URL: #56164
Refs: https://github.com/nodejs/node/pull/56160/files#r1874118863
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Juan José Arboleda <[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. 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.

5 participants