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

endpoint/id: simplify TestSplitID #26581

Merged
merged 1 commit into from Jul 7, 2023

Conversation

tklauser
Copy link
Member

The {pre,post}TestRun hooks are empty in all test cases, remove them. Also, the id and the wanted result can be constructed inline in the test case definition. They don't have any run time dependency that would require them to be constructed in a function.

The {pre,post}TestRun hooks are empty in all test cases, remove them.
Also, the id and the wanted result can be constructed inline in the test
case definition. They don't have any run time dependency that would
require them to be constructed in a function.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser added kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. labels Jun 30, 2023
@tklauser tklauser requested a review from a team as a code owner June 30, 2023 14:47
@tklauser tklauser requested a review from jrajahalme June 30, 2023 14:47
@tklauser
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 7, 2023
@tklauser tklauser merged commit afe5c99 into main Jul 7, 2023
66 checks passed
@tklauser tklauser deleted the pr/tklauser/endpoint-id-tests-empty-pre-post-run branch July 7, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants