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

add e2e s3 test #7833

Merged
merged 1 commit into from
Jul 5, 2023
Merged

add e2e s3 test #7833

merged 1 commit into from
Jul 5, 2023

Conversation

osodracnai
Copy link
Contributor

@osodracnai osodracnai commented Jun 28, 2023

Proposed Changes

adds e2e test checking s3-etcd-snapshot functionality, closes #7441

Types of Changes

Verification

Testing

go test -timeout=15m ./tests/e2e/s3/...

Linked Issues

User-Facing Change


Further Comments

@osodracnai osodracnai marked this pull request as ready for review June 28, 2023 16:45
@osodracnai osodracnai requested a review from a team as a code owner June 28, 2023 16:45
tests/e2e/s3/Vagrantfile Outdated Show resolved Hide resolved
tests/e2e/s3/Vagrantfile Outdated Show resolved Hide resolved
tests/e2e/s3/Vagrantfile Outdated Show resolved Hide resolved
tests/e2e/s3/s3_test.go Outdated Show resolved Hide resolved
fmt.Println(a)
Expect(err).NotTo(HaveOccurred())
})
})
Copy link
Member

Choose a reason for hiding this comment

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

We need additional checks to insure that the s3 snapshot can successfully be listed or queried.

@osodracnai osodracnai force-pushed the s3-e2e-test branch 2 times, most recently from 926c546 to be79534 Compare June 30, 2023 16:58
@dereknola
Copy link
Member

You need to go fmt your files for CI to pass.

Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

Patch coverage has no change and project coverage change: +4.29 🎉

Comparison is base (fe9604c) 47.22% compared to head (9b4e4b9) 51.52%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7833      +/-   ##
==========================================
+ Coverage   47.22%   51.52%   +4.29%     
==========================================
  Files         143      143              
  Lines       14509    14524      +15     
==========================================
+ Hits         6852     7483     +631     
+ Misses       6571     5855     -716     
- Partials     1086     1186     +100     
Flag Coverage Δ
e2etests 49.30% <ø> (?)
inttests 44.53% <ø> (-0.06%) ⬇️
unittests 19.85% <ø> (ø)

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

see 47 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@osodracnai osodracnai merged commit 9e33415 into k3s-io:master Jul 5, 2023
6 checks passed
osodracnai added a commit to osodracnai/k3s that referenced this pull request Jul 6, 2023
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
(cherry picked from commit 9e33415)
osodracnai added a commit to osodracnai/k3s that referenced this pull request Jul 6, 2023
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
(cherry picked from commit 9e33415)
osodracnai added a commit that referenced this pull request Jul 7, 2023
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
(cherry picked from commit 9e33415)
osodracnai added a commit that referenced this pull request Jul 7, 2023
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
(cherry picked from commit 9e33415)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add E2E Test around etcd-snapshot S3 bucket
3 participants