Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

added erase_cluster check before delete_kind_clusters call #403

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

aroradaman
Copy link
Contributor

Problem
Setting erase_clusters=false in ./hack/test_e2e.sh erases cluster.

Solution
Adding erase_clusters at the end of main function in test_e2e.sh

this probably fixes #352

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 3, 2022
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 3, 2022
@aroradaman aroradaman marked this pull request as ready for review December 3, 2022 11:41
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 3, 2022
@aroradaman
Copy link
Contributor Author

@jayunit100 delete_cluster is called twice in the main func, not sure if it is required before starting the tests.

https://github.com/kubernetes-sigs/kpng/blob/master/hack/test_e2e.sh#L789
https://github.com/kubernetes-sigs/kpng/blob/master/hack/test_e2e.sh#L878

@astoycos
Copy link
Contributor

astoycos commented Dec 5, 2022

/lgtm
/approve

Thanks for the find @daman1807!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 5, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: astoycos, daman1807

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 5, 2022
@k8s-ci-robot k8s-ci-robot merged commit 3426680 into kubernetes-retired:master Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

e ) erase_clusters=false ;;... doesnt work
4 participants