Skip to content

Conversation

@tpantelis
Copy link
Contributor

This is a series of commits that adds unit tests for the various files in pkg/diagnose. Also, fixes issues found and makes enhancements to reuse code and increases code coverage.

While errors were logged, misuse of the Tracker prevented an error
from being propagated to fail the command.

Signed-off-by: Tom Pantelis <[email protected]>
Also fixed issues found by the tests and streamlined the
production code a bit to increase coverage.

Signed-off-by: Tom Pantelis <[email protected]>
...to use the testSuccess, testFailure et al functions.

Signed-off-by: Tom Pantelis <[email protected]>
...to use the testSuccess, testFailure et al functions.

Signed-off-by: Tom Pantelis <[email protected]>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr1566/tpantelis/diagnose_ut
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@tpantelis tpantelis requested a review from yboaron December 4, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants