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

tests: Migrate noquorum kv tests to common framework #13754

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

serathius
Copy link
Member

@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2022

Codecov Report

Merging #13754 (c7041be) into main (4787e71) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #13754      +/-   ##
==========================================
- Coverage   72.56%   72.50%   -0.07%     
==========================================
  Files         467      467              
  Lines       38280    38280              
==========================================
- Hits        27777    27754      -23     
- Misses       8720     8735      +15     
- Partials     1783     1791       +8     
Flag Coverage Δ
all 72.50% <ø> (-0.07%) ⬇️

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

Impacted Files Coverage Δ
raft/rafttest/node.go 95.00% <0.00%> (-5.00%) ⬇️
client/v3/concurrency/session.go 88.63% <0.00%> (-4.55%) ⬇️
client/pkg/v3/testutil/leak.go 62.83% <0.00%> (-4.43%) ⬇️
client/v3/leasing/cache.go 87.77% <0.00%> (-3.89%) ⬇️
server/storage/mvcc/watchable_store.go 85.14% <0.00%> (-3.63%) ⬇️
server/etcdserver/util.go 85.71% <0.00%> (-3.18%) ⬇️
server/etcdserver/api/v3election/election.go 66.66% <0.00%> (-2.78%) ⬇️
client/v3/concurrency/election.go 79.68% <0.00%> (-2.35%) ⬇️
server/proxy/grpcproxy/watch.go 95.37% <0.00%> (-1.16%) ⬇️
client/v3/leasing/kv.go 90.36% <0.00%> (-1.00%) ⬇️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4787e71...c7041be. Read the comment docs.

@serathius
Copy link
Member Author

cc @ahrtr @kkkkun @endocrimes

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM overall, with a minor comment.

Client() Client
Start() error
Stop()
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible that the e2e or integration somehow fail to stop a member? Does it make sense to return an error?

Copy link
Member Author

Choose a reason for hiding this comment

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

sg

@kkkkun
Copy link
Contributor

kkkkun commented Mar 22, 2022

LGTM

@serathius serathius merged commit 5fe4d55 into etcd-io:main Mar 22, 2022
@serathius serathius deleted the common-noquorum branch June 15, 2023 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants