-
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
Login to oc right after init #11366
Login to oc right after init #11366
Conversation
Can one of the admins verify this patch? |
2 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
e972a65
to
3ec84e5
Compare
Log into OpenShift is needed only for several tests of Eclipse Che, and At the same time login operation is quite expensive because it requires downloading of OpenShift ClI client into the system, and we would avoid it if we run separate test which is not bound to OpenShift, like If this PR is aimed to get rid of calling
Don't also forget to remove calling of |
Sorry I clicked wrong button by accident... |
3ec84e5
to
94725df
Compare
Signed-off-by: kkanova <kkanova@redhat.com>
94725df
to
2bb4e1a
Compare
Looks good as for me. Will execute the tests. |
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.
Local test execution against Eclipse Che Multiuser on OCP didn't show regression.
Signed-off-by: kkanova <kkanova@redhat.com>
What does this PR do?
Login to oc right after the class OpenShiftCliCommandExecutor is initialized. As far as this class is accessed in test via HotUpdateUtil, we faced cases that user was not logged in. There is no method for login via HotUpdateUtil.
When the OpenShiftCliCommandExecutor is binded, it will need access to oc to provide execute and other methods so it should not be problem to log in right after init and then don't care about that later.
What issues does this PR fix or reference?
https://github.com/redhat-developer/che-functional-tests/issues/365