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

Fix non-exited while loop in teardown #1889

Merged

Conversation

albinsun
Copy link
Contributor

@albinsun albinsun commented Feb 21, 2025

Which issue(s) this PR fixes:

What this PR does / why we need it:

  1. Fix non-exited while loop in upgrade teardown.
  2. Conform test case to feat: change to use helm get values -a to get image harvester#7479
    • Use v1/apps.deployments and apps.controllerrevisions to get app image instead of previous v1/catalog.cattle.io.apps.

Special notes for your reviewer:

Verifed
Image

Additional documentation or context

  1. Comparism
    • v1/catalog.cattle.io.apps
      image
    • v1/apps.deployments
      image

Copy link
Member

@lanfon72 lanfon72 left a comment

Choose a reason for hiding this comment

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

In general LGTM

@@ -1065,7 +1067,7 @@ def test_verify_rke2_version(self, api_client, host_shell):
"kubeletVersion", "") == except_rke2_version, (
"rke2 version is not correct")

@pytest.mark.dependency(depends=["any_nodes_upgrade"])
# @pytest.mark.dependency(depends=["any_nodes_upgrade"])
Copy link
Member

@lanfon72 lanfon72 Feb 26, 2025

Choose a reason for hiding this comment

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

Is there a reason to mark it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeh, I forgot to remove the comment for testing.
Uncommented, thank you.

@albinsun albinsun force-pushed the fix_cluster_network_teardown branch from 2a0fe17 to 38d9e8c Compare February 26, 2025 03:43
@albinsun albinsun requested a review from lanfon72 February 26, 2025 03:48
@khushboo-rancher khushboo-rancher merged commit 18899e0 into harvester:main Feb 26, 2025
4 checks passed
@albinsun albinsun deleted the fix_cluster_network_teardown branch February 27, 2025 01:25
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