Skip to content

feat: add unit tests for persistent cache task handlers#4023

Merged
chlins merged 1 commit intodragonflyoss:mainfrom
BruceAko:main
Apr 29, 2025
Merged

feat: add unit tests for persistent cache task handlers#4023
chlins merged 1 commit intodragonflyoss:mainfrom
BruceAko:main

Conversation

@BruceAko
Copy link
Copy Markdown
Member

Description

Add unit tests for persistent cache task handlers.

Related Issue

#3892

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@BruceAko BruceAko requested a review from a team as a code owner April 29, 2025 07:51
@BruceAko BruceAko added the enhancement New feature or request label Apr 29, 2025
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.40%. Comparing base (f45351f) to head (bdd4c40).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4023      +/-   ##
==========================================
+ Coverage   34.27%   34.40%   +0.12%     
==========================================
  Files         343      343              
  Lines       40199    40199              
==========================================
+ Hits        13778    13829      +51     
+ Misses      25513    25456      -57     
- Partials      908      914       +6     
Flag Coverage Δ
unittests 34.40% <ø> (+0.12%) ⬆️

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

see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@gaius-qi gaius-qi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@chlins chlins enabled auto-merge (squash) April 29, 2025 08:25
@chlins chlins merged commit 1edd631 into dragonflyoss:main Apr 29, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants