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: add mix version for snapshot e2e case #15013

Conversation

halegreen
Copy link
Contributor

@halegreen halegreen force-pushed the add-mix-version-testing-for-sending-snaspshot-cases branch from 5994d41 to b12a1dd Compare December 17, 2022 17:35
@codecov-commenter
Copy link

codecov-commenter commented Dec 17, 2022

Codecov Report

Merging #15013 (c26716d) into main (6200b22) will decrease coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #15013      +/-   ##
==========================================
- Coverage   74.87%   74.65%   -0.22%     
==========================================
  Files         415      415              
  Lines       34288    34288              
==========================================
- Hits        25672    25597      -75     
- Misses       6994     7054      +60     
- Partials     1622     1637      +15     
Flag Coverage Δ
all 74.65% <ø> (-0.22%) ⬇️

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

Impacted Files Coverage Δ
client/pkg/v3/tlsutil/tlsutil.go 83.33% <0.00%> (-8.34%) ⬇️
client/v3/leasing/util.go 91.66% <0.00%> (-6.67%) ⬇️
client/pkg/v3/fileutil/purge.go 68.85% <0.00%> (-6.56%) ⬇️
client/v3/namespace/watch.go 87.87% <0.00%> (-6.07%) ⬇️
server/storage/mvcc/watchable_store.go 85.14% <0.00%> (-5.08%) ⬇️
client/v3/concurrency/session.go 85.10% <0.00%> (-4.26%) ⬇️
client/v3/leasing/cache.go 87.77% <0.00%> (-3.89%) ⬇️
server/etcdserver/txn/util.go 96.42% <0.00%> (-3.58%) ⬇️
server/etcdserver/api/rafthttp/msgappv2_codec.go 71.30% <0.00%> (-3.48%) ⬇️
server/etcdserver/api/v3rpc/auth.go 81.52% <0.00%> (-2.18%) ⬇️
... and 16 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@halegreen halegreen force-pushed the add-mix-version-testing-for-sending-snaspshot-cases branch from b12a1dd to 5954ce2 Compare December 18, 2022 16:25
tests/e2e/etcd_mix_versions_test.go Outdated Show resolved Hide resolved
tests/e2e/etcd_mix_versions_test.go Show resolved Hide resolved
tests/framework/e2e/cluster.go Show resolved Hide resolved
tests/e2e/etcd_mix_versions_test.go Show resolved Hide resolved
tests/e2e/etcd_mix_versions_test.go Outdated Show resolved Hide resolved
tests/e2e/etcd_mix_versions_test.go Outdated Show resolved Hide resolved
@ahrtr
Copy link
Member

ahrtr commented Jan 16, 2023

any update?

@halegreen
Copy link
Contributor Author

halegreen commented Feb 16, 2023

sorry for delay , I updated this pls have a look !

@halegreen halegreen force-pushed the add-mix-version-testing-for-sending-snaspshot-cases branch from c26716d to f41410e Compare February 16, 2023 15:17
@ahrtr
Copy link
Member

ahrtr commented Feb 17, 2023

This PR is far lag behind the main branch, please rebase this PR in case there are any potential conflicts

@halegreen halegreen force-pushed the add-mix-version-testing-for-sending-snaspshot-cases branch from f41410e to 6d703cc Compare February 17, 2023 13:24
@halegreen
Copy link
Contributor Author

halegreen commented Feb 17, 2023

This PR is far lag behind the main branch, please rebase this PR in case there are any potential conflicts

done, @ahrtr

Comment on lines 75 to 77
if err != nil {
t.Fatalf("failed to start etcd cluster: %v", err)
require.NoError(t, err, "failed to start etcd cluster: %v", err)
}
Copy link
Member

Choose a reason for hiding this comment

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

Please change

if err != nil {
	require.NoError(t, err, "failed to start etcd cluster: %v", err)
}

to

require.NoError(t, err, "failed to start etcd cluster: %v", err)

Note that this comment applies to the following couple of places.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ahrtr done

tests/e2e/etcd_mix_versions_test.go Show resolved Hide resolved
@halegreen halegreen force-pushed the add-mix-version-testing-for-sending-snaspshot-cases branch from 6d703cc to 2999076 Compare February 18, 2023 06:23
Signed-off-by: WangXiaoxiao <1141195807@qq.com>
@halegreen halegreen force-pushed the add-mix-version-testing-for-sending-snaspshot-cases branch from 2999076 to d7f6c64 Compare February 18, 2023 06:59
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

Thank you @halegreen

@ahrtr ahrtr merged commit 8e56e2f into etcd-io:main Feb 18, 2023
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