Skip to content

feat: ut#897

Merged
l1b0k merged 2 commits intoAliyunContainerService:mainfrom
l1b0k:feat/ut
Sep 12, 2025
Merged

feat: ut#897
l1b0k merged 2 commits intoAliyunContainerService:mainfrom
l1b0k:feat/ut

Conversation

@l1b0k
Copy link
Collaborator

@l1b0k l1b0k commented Sep 12, 2025

No description provided.

- Add test cases to verify the behavior of IsFixedNamePod function
- Cover scenarios with no owner references, non-StatefulSet owners, and StatefulSet owners
- Use testify's require package for assertions

Signed-off-by: l1b0k <libokang.lbk@alibaba-inc.com>
…onfigurations

- Added tests for nodes with IPv4, dual stack, ERDMA, and ENI trunking configurations
- Tested scenarios with unsupported dual stack configurations
- Verified correct setting of node specifications based on configuration maps

Signed-off-by: l1b0k <libokang.lbk@alibaba-inc.com>
@codecov
Copy link

codecov bot commented Sep 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.82%. Comparing base (49966d1) to head (7f4c42c).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #897      +/-   ##
==========================================
+ Coverage   55.26%   55.82%   +0.55%     
==========================================
  Files         131      131              
  Lines       19519    19519              
==========================================
+ Hits        10787    10896     +109     
+ Misses       7654     7535     -119     
- Partials     1078     1088      +10     
Flag Coverage Δ
unittests 55.82% <ø> (+0.55%) ⬆️

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@l1b0k l1b0k merged commit be7e8f1 into AliyunContainerService:main Sep 12, 2025
9 checks passed
@l1b0k l1b0k deleted the feat/ut branch September 12, 2025 07:13
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.

1 participant