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

E2E: Startup test cleanup + RunCommand Enhancement #7388

Merged
merged 5 commits into from
May 5, 2023

Conversation

dereknola
Copy link
Member

@dereknola dereknola commented May 1, 2023

Proposed Changes

  • Fix to Startup E2E test. Flakiness has been resolved, testlet was not cleaning up properly
  • Integrate the KubeConfig into the RunCommand function, removing the need to constantly pass --kubeconfig for all the kubectl cmds

Types of Changes

Test Bugfix + Enhancement

Verification

E2E Drone passes consistently now

Testing

Linked Issues

N/A

User-Facing Change


Further Comments

Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola dereknola requested a review from a team as a code owner May 1, 2023 17:06
@codecov
Copy link

codecov bot commented May 1, 2023

Codecov Report

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

Comparison is base (e61fde9) 19.35% compared to head (5c24d6d) 19.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7388      +/-   ##
==========================================
+ Coverage   19.35%   19.57%   +0.21%     
==========================================
  Files          81       81              
  Lines        5445     5461      +16     
==========================================
+ Hits         1054     1069      +15     
- Misses       4169     4170       +1     
  Partials      222      222              
Flag Coverage Δ
unittests 19.57% <ø> (+0.21%) ⬆️

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

see 4 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.

Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
tests/e2e/testutils.go Outdated Show resolved Hide resolved
tests/e2e/testutils.go Outdated Show resolved Hide resolved
tests/e2e/testutils.go Outdated Show resolved Hide resolved
Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola dereknola changed the title [WIP] Startup fix E2E: Startup test cleanup + RunCommand Enhancement May 5, 2023
@dereknola dereknola merged commit 7175ebe into k3s-io:master May 5, 2023
dereknola added a commit to dereknola/k3s that referenced this pull request May 9, 2023
* Add beforesuite to startup
* Reduce timeouts for startup
* Fix cleanup + set kubeconfig

Signed-off-by: Derek Nola <derek.nola@suse.com>
@dereknola dereknola deleted the startup_fix branch May 9, 2023 19:49
dereknola added a commit to osodracnai/k3s that referenced this pull request Jun 9, 2023
* Add beforesuite to startup
* Reduce timeouts for startup
* Fix cleanup + set kubeconfig

Signed-off-by: Derek Nola <derek.nola@suse.com>
dereknola added a commit to osodracnai/k3s that referenced this pull request Jun 9, 2023
* Add beforesuite to startup
* Reduce timeouts for startup
* Fix cleanup + set kubeconfig

Signed-off-by: Derek Nola <derek.nola@suse.com>
dereknola added a commit that referenced this pull request Jun 9, 2023
* add private registry e2e test (#7653)

add private registry e2e test

Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>

* E2E: Startup test cleanup + RunCommand Enhancement (#7388)

* Add beforesuite to startup
* Reduce timeouts for startup
* Fix cleanup + set kubeconfig

Signed-off-by: Derek Nola <derek.nola@suse.com>

---------

Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
dereknola added a commit that referenced this pull request Jun 9, 2023
* add private registry e2e test (#7653)

add private registry e2e test

Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>

* E2E: Startup test cleanup + RunCommand Enhancement (#7388)

* Add beforesuite to startup
* Reduce timeouts for startup
* Fix cleanup + set kubeconfig

Signed-off-by: Derek Nola <derek.nola@suse.com>

---------

Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
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.

3 participants