Skip to content

enable smoke test with CRD 3scale client #643

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

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

Conversation

mkudlej
Copy link
Contributor

@mkudlej mkudlej commented May 24, 2023

It introduces APIAP for all smoke tests with related changes.

@mkudlej mkudlej marked this pull request as draft May 24, 2023 07:27
@mkudlej mkudlej requested review from mganisin and pehala May 24, 2023 07:27
Copy link
Collaborator

@pehala pehala left a comment

Choose a reason for hiding this comment

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

These are significant changes to both test logic and test setup and they are completely missing any explanation of why they are needed.

@mkudlej mkudlej force-pushed the capabilities_client branch from 4c20ac1 to 847fe4d Compare May 26, 2023 15:56
@mkudlej mkudlej force-pushed the capabilities_client branch 6 times, most recently from 0605f8d to 6527d07 Compare July 25, 2023 06:47
@mkudlej mkudlej force-pushed the capabilities_client branch 2 times, most recently from 029505e to b0d78c2 Compare March 28, 2024 13:42
@mkudlej mkudlej changed the title first WIP PR to enable smoke test with CRD 3scale client enable smoke test with CRD 3scale client Mar 28, 2024
@mkudlej mkudlej marked this pull request as ready for review March 28, 2024 13:46
@mkudlej mkudlej requested review from mdujava, dhlavac and jakurban March 28, 2024 13:46
@mkudlej mkudlej force-pushed the capabilities_client branch from b0d78c2 to 3ad3429 Compare April 5, 2024 14:53
@mkudlej mkudlej requested a review from jakurban April 5, 2024 14:54
@dhlavac
Copy link
Member

dhlavac commented Apr 17, 2024

@mkudlej please add note about capabilities tests to the documentation for the next generations :)

@dhlavac
Copy link
Member

dhlavac commented Apr 17, 2024

@mkudlej please unify setting of cluster project with testsuite logic. (1. level get project from dynaconf settings, 2.level NAMESPACE variable, fallback to current project from oc tool)

@mkudlej mkudlej force-pushed the capabilities_client branch from 3ad3429 to f360b4b Compare April 18, 2024 14:11
@mkudlej mkudlej requested a review from dhlavac April 18, 2024 14:41
Comment on lines +57 to +58
def api_client_type(pytestconfig):
"""Do tests use REST API client(False) or CR Capabilities client(True)?"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would rename this fixture to something like use_capabilities_client to match bool return value and for more clear usage later in the code.

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.

5 participants