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

Create a test scenario for mixed version clustering #720

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

addyess
Copy link
Contributor

@addyess addyess commented Oct 8, 2024

Overview

  • creates a new test which clusters two control-plane nodes from different versions of the same flavor
  • improves the function scoped pytest marking to support node_count or node_config when you wish to configure the nodes differently (say with a different snap version)

Details

  • TBD

@addyess addyess requested a review from a team as a code owner October 8, 2024 14:52
Comment on lines -140 to -142
if not config.SNAP:
pytest.fail("Set TEST_SNAP to the path where the snap is")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved to test_util.util

Comment on lines -146 to -147
snap_path = (tmp_path / "k8s.snap").as_posix()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is gone because we can install from all kinds of things now...track, channel, revision, or file

@addyess addyess force-pushed the KU-1800/test-cluster-with-mixed-versions branch 2 times, most recently from 75d5fd7 to 41fe426 Compare October 8, 2024 15:15
@addyess addyess force-pushed the KU-1800/test-cluster-with-mixed-versions branch from 41fe426 to d8aa2bc Compare October 8, 2024 16:11
@addyess addyess force-pushed the KU-1800/test-cluster-with-mixed-versions branch from 50b41c7 to 5b3b8b1 Compare October 8, 2024 17:29
@addyess addyess force-pushed the KU-1800/test-cluster-with-mixed-versions branch from e8eaf59 to a88f1ce Compare October 8, 2024 18:31
@@ -12,40 +12,45 @@

@pytest.mark.node_count(1)
@pytest.mark.no_setup()
@pytest.mark.xfail(reason="cilium failures are blocking this from working")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bschimke95 I did not see this to be the case any longer. I've fixed this test again and it seems to pass??

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.

1 participant