-
Notifications
You must be signed in to change notification settings - Fork 667
Bandaid fix OperatorHub tests for etcd operator #1255
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
Bandaid fix OperatorHub tests for etcd operator #1255
Conversation
|
/retest |
|
@spadgett I think this is why all the tests were failing. Thanks @SamiSousa for catching this! |
|
/retest |
spadgett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
|
/retest |
7585dfc to
5d2885d
Compare
spadgett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
@SamiSousa OperatorHub tests failed :( |
|
/retest |
|
@spadgett The OperatorHub and OLM test suites passed for me when I created the PR this morning, launching a new cluster to double check now. |
- Changed OperatorHub test to check for OwnNamespace installmode rather than AllNamespaces - Updated namespace to match testName for single namespace install - Added views for selecting namespace on Subscription page The etcd operator in community-operators changed late last week, replacing AllNamespaces functionality with SingleNamespace. This puts a bandaid on the issue. Operators in community-operators can change frequently, and because of this OperatorHub tests will be unstable when relying on external content.
5d2885d to
0805b1e
Compare
|
Updated tests to use |
spadgett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
| export const createSubscriptionFormBtn = element(by.buttonText('Subscribe')); | ||
| export const createSubscriptionFormInstallMode = element(by.cssContainingText('label', 'Installation Mode')); | ||
|
|
||
| export const installNamespaceDropdown = $('.dropdown--full-width'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might give this a more descriptive ID than we're currently using in the form, and then we can select the right dropdown by ID here.
Don't worry about this if the PR passes tests, though. We need to unblock the queue.
|
Tests are green! |
rather than AllNamespaces
The etcd operator in community-operators changed late last week,
replacing AllNamespaces functionality with SingleNamespace.
This puts a bandaid on the issue.
Operators in community-operators can change frequently, and
because of this OperatorHub tests will be unstable when relying on
external content.
/cc @galletti94 @jeff-phillips-18 @spadgett @dtaylor113
This will help tests pass for now, but it's not a long-term solution. I suggest we either use a separate quay namespace with stable operator bundles and add that as a "Custom" OperatorSource during this test, or possibly figure out installmodes on the fly.