-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fixed NPE during provisioning of selector for Deployments #13041
Conversation
ci-test |
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 but makes me worried where else do we assume k8s child objects to be non-null.
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
Selenium tests execution on Eclipse Che Multiuser on OCP (https://ci.codenvycorp.com/job/che-pullrequests-test-ocp/1678//Selenium_20tests_20report/) doesn't show any regression against this Pull Request. |
…component Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
ae132cd
to
d1b9203
Compare
@sleshchenko I don't see much value in trying to cover devfile functionality with selenium tests in this moment... Selenium tests are UI tests and AFAIK there is no UI endpoint for devfile functionality, right? |
@rhopp You're right that there is not Devfile specific UI, and there are two ways of creation workspace with Devfile - factory URL and API call. My point is to have some integration tests that make sure that no functionalities are broken.
something is better than nothing =) |
@sleshchenko Could you please check #12728 (most importantly https://hackmd.io/s/BkVyU6crN) to see if that covers the basics for devfile and if not, could you provide feedback there? Thanks! |
What does this PR do?
This bug was found during try to run a workspace with a single dockerimage component.
It fixes provisioning of selector for Deployment of dockerimage component and improves the code to avoid NPE if the user does not define selector in his recipe.
What issues does this PR fix or reference?
It is a fix for functionality introduced in #12967
Release Notes
N/A
Docs PR
N/A