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

[Release-1.26]Add integration tests for etc-snapshot server flags #7377

Merged
merged 1 commit into from
May 2, 2023

Conversation

osodracnai
Copy link
Contributor

Proposed Changes

Backporting #7300 to release 1.26

Types of Changes

Verification

Testing

Linked Issues

User-Facing Change


Further Comments

…ts/integration/integration.go/K3sStartServer (k3s-io#7300)

This adds integration tests for the following flags: "--etcd-snapshot-name","--etcd-snapshot-dir","--etcd-snapshot-retention","--etcd-snapshot-schedule-cron" and "--etcd-snapshot-compress". It also refactors K3sStartServer to stop applying strings.Fields() into inputArgs, so it can accept arguments that have space in their definition.

Signed-off-by: Ian Cardoso <[email protected]>
(cherry picked from commit 1ac03aa)
@osodracnai osodracnai requested a review from a team as a code owner April 28, 2023 17:27
@osodracnai osodracnai merged commit 42fd1bf into k3s-io:release-1.26 May 2, 2023
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.

2 participants