-
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
prevent workspace restarting if user intentionally stopped it #14728
Conversation
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
@@ -26,6 +26,10 @@ export class WorkspaceLoader { | |||
private workspace: che.workspace.Workspace; | |||
private runtimeIsAccessible: Deferred<void>; | |||
|
|||
// `false` if workspace has been stopped intentionally | |||
// and workspace-loader should not restart it | |||
private doRestart: boolean = true; |
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.
I'm confused. Restart means the sequence of actions: stop and then start. Is this variable indeed means 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.
It's not the best name, indeed. I suppose that allowRestart
makes more sense, doesn't it?
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.
Let it be allowRestart
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
e9ef6d3
to
9c677ed
Compare
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
ci-build |
ci-test |
crw-ci-test |
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
ci-build |
ci-test |
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
ci-test |
E2E tests of Eclipse Che Multiuser on OCP has failed:
|
@akurinnoy: there is expected regression in Java selenium tests. It was fixed yesterday 720aab0. |
…e-che#14728) * prevent workspace restarting if user intentionally stopped it Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com> * fixup! prevent workspace restarting if user intentionally stopped it
Signed-off-by: Oleksii Kurinnyi okurinny@redhat.com
What does this PR do?
Fix bug when user cannot interrupt a workspace start.
What issues does this PR fix or reference?
fixes #14567