Skip to content

hubble: move AssertProtoEqual helper to hubble testutils #39366

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented May 6, 2025

This commit moves the AssertProtoEqual test helper out of the test/helpers package which otherwise contains the test helpers for Ginkgo-based tests. The existing pkg/hubble/testutils package seems like a more appropriate place for the helper. Also this reduces initial test build time for pkg/hubble from ~28s to ~15s on my machine.

This commit moves the AssertProtoEqual test helper out of the
test/helpers package which otherwise contains the test helpers for
Ginkgo-based tests. The existing pkg/hubble/testutils package seems like
a more appropriate place for the helper. Also this reduces initial test
build time for pkg/hubble from ~28s to ~15s on my machine.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser added the release-note/misc This PR makes changes that have no direct user impact. label May 6, 2025
@tklauser tklauser requested a review from a team as a code owner May 6, 2025 13:21
@tklauser tklauser requested a review from a team as a code owner May 6, 2025 13:21
@tklauser tklauser requested review from christarazi and rolinh May 6, 2025 13:21
@tklauser
Copy link
Member Author

tklauser commented May 6, 2025

/test

@tklauser tklauser enabled auto-merge May 6, 2025 13:21
@tklauser tklauser added this pull request to the merge queue May 9, 2025
@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 May 9, 2025
Merged via the queue into main with commit 76c2036 May 9, 2025
286 of 288 checks passed
@tklauser tklauser deleted the pr/tklauser/hubble-move-assertproto branch May 9, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants