Skip to content

Conversation

feng-j678
Copy link
Contributor

[x] add ut to servicemanager
[x] add ut to timermanager

Copy link

codecov bot commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.11%. Comparing base (18b27f8) to head (9cc39f5).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #307      +/-   ##
==========================================
+ Coverage   92.87%   93.11%   +0.24%     
==========================================
  Files         103      103              
  Lines       17400    17528     +128     
==========================================
+ Hits        16160    16322     +162     
+ Misses       1240     1206      -34     
Flag Coverage Δ
python27 93.11% <100.00%> (+0.24%) ⬆️
python39 93.11% <100.00%> (+0.24%) ⬆️

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.

@kjohn-msft kjohn-msft added the draft Work in progress or planned for later label Apr 11, 2025
@feng-j678 feng-j678 marked this pull request as ready for review April 11, 2025 19:17
@Copilot Copilot AI review requested due to automatic review settings April 11, 2025 19:17
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (1)

src/core/tests/Test_ServiceManager.py:105

  • [nitpick] The assertion message 'Service should not be started' may be unclear in the context of stopping a service. Consider changing it to a clearer message such as 'Service should be stopped' to accurately reflect the expected outcome.
self.assertTrue(result, "Service should not be started")

@kjohn-msft kjohn-msft added feature New feature or request and removed draft Work in progress or planned for later labels Apr 11, 2025
@kjohn-msft kjohn-msft changed the title Add/add ut timer and service manager files Coverage: Increase code coverage - TimerManager and ServiceManager Apr 11, 2025
@kjohn-msft kjohn-msft added OE PR is considered near complete due to OE sign-off. engg. hygiene Engineering hygiene related and removed feature New feature or request labels Apr 11, 2025
@feng-j678 feng-j678 merged commit 2ee4f3e into master Apr 15, 2025
7 checks passed
@feng-j678 feng-j678 deleted the add/add_ut_timer_and_service_manager_files branch April 15, 2025 15:37
@rane-rajasi rane-rajasi mentioned this pull request Apr 25, 2025
rane-rajasi added a commit that referenced this pull request Apr 25, 2025
This release includes:
[x] Engg. hygiene: Remove TelemetryWriter related log noise
[#312](#312)
[x] Bugfix: Mitigate external Ubuntu Pro Client issue
[#308](#308)
[x] Feature: Adding support for Azure Linux 2.0 in Tdnf Package Manager
[#311](#311)
[x] Eng. sys: Upgrade CICD pipeline from Python 3.9 to Python 3.12
[#309](#309)
[x] Coverage: Increase code coverage - TimerManager and ServiceManager
[#307](#307)
[x] Bugfix: Unit tests broken in Python 3.12
[#306](#306)
[x] Feature: Adding Azure Linux 3.0 Base Support
[#293](#293)
[x] Bugfix: Retry Handler to Prevent Unbounded Retries while trying to
Mitigate YUM Update Errors
[#303](#303)
[x] BugFix: CentOS VMs not installing patches during Auto Patching
[#298](#298)
[x] Bugfix: Auto-assessment - Restricting execution permissions to root
user/ owner
[#299](#299)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engg. hygiene Engineering hygiene related OE PR is considered near complete due to OE sign-off.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants