-
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
Add workaround for handling unexpected pop ups during redirection maven build to editor #14814
Conversation
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
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:
|
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.
checked on che-theia PR check build
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
E2E tests of Eclipse Che Multiuser on OCP has been successful:
|
// await projectTree.expandPathAndOpenFileInAssociatedWorkspace(projectName, 'build-output.txt'); | ||
await projectTree.expandPathAndOpenFileInAssociatedWorkspace(projectName, 'result-build-output.txt', 220000); | ||
await editor.waitText('result-build-output.txt', '[INFO] BUILD SUCCESS'); | ||
// await editor.followAndWaitForText('build-output.txt', '[INFO] BUILD SUCCESS', 300000, 10000); |
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.
@musienko-maxim Why did you left commented code? In my opinion this is not a very good approach.
|
||
//workaround for issue: https://github.com/eclipse/che/issues/14771 | ||
|
||
/*await projectTree.expandPathAndOpenFileInAssociatedWorkspace(projectName, 'build.txt'); |
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.
The same question #14814 (review)
What does this PR do?
during adding new lines into editor, looks like sometimes filewatcher detect events incorrectly (the file from editor is not changed but filewatcher detect like changed).
For workaround we changed
exec
commands in DevFile. After finishing maven build we grep last lines in a log file and check maven build was success or not. In this way, we do not redirect output to the editor and problem is not reproduced.What issues does this PR fix or reference?