Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codecov/fluctuation #340

Merged
merged 2 commits into from
Jun 26, 2023
Merged

Conversation

Phoenix500526
Copy link
Collaborator

Please briefly answer these questions:

  1. remove some non-determinism in tests. unexpected coverage changes in a pr which doesn't modify code #338
  2. fix bug [Bug]: EventListener will lose event since it's not cancellation safe. #339
  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

  • what changes does this pull request make?
    Add some test cases to cover some code branch determinism.
    Fix bug [Bug]: EventListener will lose event since it's not cancellation safe. #339 and add a test test_watch_task_should_be_terminated_when_response_tx_is_closed to cover it.

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)
    No

@codecov
Copy link

codecov bot commented Jun 25, 2023

Codecov Report

Merging #340 (03c8fc1) into master (c60a67d) will increase coverage by 0.16%.
The diff coverage is 96.36%.

@@            Coverage Diff             @@
##           master     #340      +/-   ##
==========================================
+ Coverage   54.42%   54.58%   +0.16%     
==========================================
  Files          89       89              
  Lines       12822    12865      +43     
  Branches    12822    12865      +43     
==========================================
+ Hits         6979     7023      +44     
  Misses       5392     5392              
+ Partials      451      450       -1     
Impacted Files Coverage Δ
xline/src/server/watch_server.rs 79.32% <95.34%> (+1.93%) ⬆️
xline/src/storage/kvwatcher.rs 81.25% <100.00%> (ø)

... and 3 files with indirect coverage changes

@mergify mergify bot merged commit 71249bd into xline-kv:master Jun 26, 2023
12 checks passed
@Phoenix500526 Phoenix500526 deleted the codecov/fluctuation branch September 23, 2023 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants