-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Added tests for vm/vmi resource watch #3002
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
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.
Do we really need to check the output speifically from kubectl
? Is it possible to use the go-client with a watch for this test and check for the status of the objects from there? Eventually, kubectl is reading the status from the same place and I'm not sure we should test kubectl
iteself ...
Do you have an example of how to watch VM/VMI resources with Edit: |
Agreed, will implement the Edit: |
/lgtm |
/lgtm |
@enp0s3: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
New changes are detected. LGTM label has been removed. |
/hold |
return cmd, stdOut, stdErr | ||
} | ||
|
||
It("[test_id:3468]Should update vm status with the proper columns using 'kubectl get vm -w'", func() { |
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.
@omeryahud the reason for failure here can be that the PR for this might not have made it back to previous versions.
kubernetes/kubernetes#76161
Need to check specific version, but I think it should have made in 1.16 and onwards
You should skip the tests for the versions before that.
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.
Thanks, working on it now
/retest |
Signed-off-by: Omer Yahud <oyahud@oyahud.tlv.csb>
@omeryahud: The following tests failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
What this PR does / why we need it:
Added 2 tests to make sure
oc get vm -w
andoc get vmi -w
work correctlyRelease note: