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

Adding tests for the error.go resource #530

Merged
merged 3 commits into from
Feb 27, 2024

Conversation

Catalin-Stratulat-Ericsson
Copy link
Contributor

This is my first commit. adding tests for "nephio\controllers\pkg\resource\error.go"

Copy link

linux-foundation-easycla bot commented Feb 20, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Contributor

nephio-prow bot commented Feb 20, 2024

Hi @Catalin-Stratulat-Ericsson. Thanks for your PR.

I'm waiting for a nephio-project member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@Catalin-Stratulat-Ericsson
Copy link
Contributor Author

/assign lapentad

@efiacor
Copy link
Contributor

efiacor commented Feb 20, 2024

/ok-to-test

Copy link
Contributor

@efiacor efiacor left a comment

Choose a reason for hiding this comment

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

}
}

func TestIsAPIError(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We can prob remove this as we get full coverage with the next test

@efiacor
Copy link
Contributor

efiacor commented Feb 26, 2024

/lgtm

@liamfallon
Copy link
Member

/approve

@henderiw
Copy link
Contributor

/lgtm
/approve

Copy link
Contributor

nephio-prow bot commented Feb 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: henderiw, liamfallon

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

@nephio-prow nephio-prow bot added the approved label Feb 27, 2024
@nephio-prow nephio-prow bot merged commit 945ea1c into nephio-project:main Feb 27, 2024
9 checks passed
PrimalPimmy pushed a commit to 5GSEC/nephio that referenced this pull request Aug 2, 2024
This is my first commit. adding tests for
"nephio\controllers\pkg\resource\error.go"

---------

Signed-off-by: Catalin Stratulat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants