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

🌱 E2E: Remove gomega in LoadBMCConfig() #1806

Merged

Conversation

mquhuy
Copy link
Member

@mquhuy mquhuy commented Jul 4, 2024

A minor PR to not use gomega's Expect() in LoadBMCConfig().

Reason: Using Expect() inside the function prevents reusage of the function in locations where ginkgo is not in use (e.g. #1767). This inclusion is unnecessary anyway, and Expect() should be located in the e2e suite.

@metal3-io-bot metal3-io-bot requested review from kashifest and zaneb July 4, 2024 07:10
@metal3-io-bot metal3-io-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 4, 2024
@mquhuy mquhuy force-pushed the mquhuy/remove-gomega-from-bmc.go branch from 79f06df to 23246c9 Compare July 4, 2024 07:10
@mquhuy
Copy link
Member Author

mquhuy commented Jul 4, 2024

Copy link
Member

@adilGhaffarDev adilGhaffarDev left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot
Copy link
Contributor

@adilGhaffarDev: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 4, 2024
Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 4, 2024
@metal3-io-bot metal3-io-bot merged commit dc01c5e into metal3-io:main Jul 4, 2024
17 checks passed
@metal3-io-bot metal3-io-bot deleted the mquhuy/remove-gomega-from-bmc.go branch July 4, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants