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

[v2.9/Main] Modify hosted provider create methods to not read directly from config file #188

Merged
merged 1 commit into from
May 24, 2024

Conversation

valaparthvi
Copy link
Contributor

This PR modifies the hosted provider create functions to not read directly from the CATTLE_TEST_CONFIG file but obtain the data instead as a user input. This makes the functions more generic and useful when the user needs to run parallel test and the config file needs to be modified during the test, these changes will help in avoiding race condition with the resource.

Note: This is a breaking change PR.

…g file

Signed-off-by: Parthvi <parthvi.vala@suse.com>
Copy link
Contributor

@anupama2501 anupama2501 left a comment

Choose a reason for hiding this comment

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

Can we update rancher/rancher tests as well as get a jenkins pass log with these changes.. otherwise lgtm.

Copy link

@igomez06 igomez06 left a comment

Choose a reason for hiding this comment

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

LGTM we need backports as well please.

@valaparthvi valaparthvi changed the title Modify hosted provider create methods to not read directly from config file [v2.9/Main] Modify hosted provider create methods to not read directly from config file May 23, 2024
@valaparthvi
Copy link
Contributor Author

LGTM we need backports as well please.

#199
#200

@valaparthvi
Copy link
Contributor Author

valaparthvi commented May 23, 2024

Can we update rancher/rancher tests as well as get a jenkins pass log with these changes.. otherwise lgtm.

Based on the slack discussion, we will mark the test cases in rancher/rancher as skip.
rancher/rancher#45583
rancher/rancher#45584
rancher/rancher#45585

@igomez06
Copy link

Can we update rancher/rancher tests as well as get a jenkins pass log with these changes.. otherwise lgtm.

Based on the slack discussion, we will mark the test cases in rancher/rancher as skip. rancher/rancher#45583 rancher/rancher#45584 rancher/rancher#45585

As pointed out with @markusewalker the scaling tests need to be deprecated as well. @valaparthvi we need two approvals for a a merge just an FYI

Copy link
Contributor

@markusewalker markusewalker left a comment

Choose a reason for hiding this comment

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

LGTM

@igomez06 igomez06 merged commit 9f5a881 into rancher:main May 24, 2024
1 check passed
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.

4 participants