Skip to content

Fix/ut error#2535

Merged
rambohe-ch merged 2 commits intoopenyurtio:masterfrom
zyjhtangtang:fix/ut-error
Apr 3, 2026
Merged

Fix/ut error#2535
rambohe-ch merged 2 commits intoopenyurtio:masterfrom
zyjhtangtang:fix/ut-error

Conversation

@zyjhtangtang
Copy link
Copy Markdown
Contributor

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind enhancement

-->

None

@zyjhtangtang zyjhtangtang requested a review from a team as a code owner April 1, 2026 02:38
@zyjhtangtang zyjhtangtang force-pushed the fix/ut-error branch 2 times, most recently from aed5618 to 3ffa091 Compare April 1, 2026 07:02
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 54.16667% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.94%. Comparing base (6ac8bae) to head (af5b785).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pkg/yurtadm/util/localnode/localnode.go 55.55% 5 Missing and 3 partials ⚠️
pkg/yurtadm/util/yurthub/yurthub.go 45.45% 5 Missing and 1 partial ⚠️
pkg/yurtadm/util/initsystem/initsystem.go 0.00% 5 Missing ⚠️
pkg/yurtadm/util/edgenode/edgenode.go 0.00% 1 Missing ⚠️
pkg/yurtadm/util/initsystem/initsystem_unix.go 0.00% 1 Missing ⚠️
pkg/yurthub/cachemanager/error_keys.go 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2535      +/-   ##
==========================================
- Coverage   44.08%   43.94%   -0.14%     
==========================================
  Files         399      400       +1     
  Lines       26562    26541      -21     
==========================================
- Hits        11709    11664      -45     
- Misses      13789    13810      +21     
- Partials     1064     1067       +3     
Flag Coverage Δ
unittests 43.94% <54.16%> (-0.14%) ⬇️

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.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

@rambohe-ch
Copy link
Copy Markdown
Member

/LGTM

@rambohe-ch rambohe-ch merged commit cead0c7 into openyurtio:master Apr 3, 2026
14 checks passed
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.

3 participants