Skip to content

chore(CI): clenaup netowrk flow test#19414

Open
janisz wants to merge 2 commits intomasterfrom
cleanup_network_flow_test
Open

chore(CI): clenaup netowrk flow test#19414
janisz wants to merge 2 commits intomasterfrom
cleanup_network_flow_test

Conversation

@janisz
Copy link
Contributor

@janisz janisz commented Mar 13, 2026

Description

Change deployments from list to map to allow direct access instead of find

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

CI

Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz janisz requested review from parametalol and vikin91 March 13, 2026 12:03
@rhacs-bot
Copy link
Contributor

rhacs-bot commented Mar 13, 2026

Images are ready for the commit at aefbfb4.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-316-gaefbfb40b2.

@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.71%. Comparing base (049a63c) to head (aefbfb4).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19414      +/-   ##
==========================================
+ Coverage   49.68%   49.71%   +0.02%     
==========================================
  Files        2700     2701       +1     
  Lines      203312   203453     +141     
==========================================
+ Hits       101014   101145     +131     
- Misses      94772    94782      +10     
  Partials     7526     7526              
Flag Coverage Δ
go-unit-tests 49.71% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@openshift-ci
Copy link

openshift-ci bot commented Mar 13, 2026

@janisz: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/gke-qa-e2e-tests 67873ea link false /test gke-qa-e2e-tests

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

Previous refactoring changed deployments from List to Map but missed
updating iteration and property access, causing test failures:
- GroovyCastException: iterating Map yields Map.Entry, not Deployment
- NullPointerException: Maps don't have .name property

Fixes:
- Use deployments.values() for iteration in destroyDeployments()
- Use deployments.keySet().join() for query string construction
- Add type annotations to modified lines (String, boolean)

User request: Fix test failures, keep diff minimal, add types only to changed lines

Partially AI-assisted.
@janisz janisz force-pushed the cleanup_network_flow_test branch from d3ee8bc to aefbfb4 Compare March 13, 2026 14:40
@janisz janisz requested a review from parametalol March 13, 2026 14:41
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.

4 participants