Skip to content
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

Reworks CheckWsAgentAfterStopProcessTest test #6445

Merged
merged 5 commits into from
Sep 27, 2017

Conversation

SkorikSergey
Copy link
Contributor

What does this PR do?

Checking restarting of workspace by API and from the IDE in different tests.

What issues does this PR fix or reference?

#6442

@codenvy-ci
Copy link

@@ -38,18 +43,22 @@
* @author Musienko Maxim
*/
public class CheckWsAgentAfterStopProcessTest {
private static final String PROJECT_NAME = CheckWsAgentAfterStopProcessTest.class.getSimpleName();
private static final String PROJECT_NAME =
NameGenerator.generate("CheckWsAgentAfterStopProcessTest", 4);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NameGenerator.generate("project", 4);

@@ -38,18 +43,21 @@
* @author Musienko Maxim
*/
public class CheckWsAgentAfterStopProcessTest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should rename the name of class because it a bit confuse. May be like: CheckResroingWorkspaceAfterStoppingWsAgentProcess or something like that. WDYF-?

@Test
public void checkDialogAfterKillingProcess() throws Exception {
@Test(priority = 0)
public void checkWorkspaceRestartingByApi() throws Exception {
String expectedMessageOInDialog =
Copy link
Contributor

@musienko-maxim musienko-maxim Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And name of method this one like: checkRestoreWsAgent

}

@Test(priority = 1)
public void checkWorkspaceRestartingByIde() {
projectExplorer.waitItem(PROJECT_NAME);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And checkRestoreIdeItems()

…storingWorkspaceAfterStoppingWsAgentProcess
@SkorikSergey SkorikSergey merged commit d7063b0 into master Sep 27, 2017
@SkorikSergey SkorikSergey deleted the reworkCheckWsAgentAfterStopProcessTest branch September 27, 2017 09:05
@codenvy-ci
Copy link

Build # 3841 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/3841/ to view the results.

@slemeur slemeur added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Sep 28, 2017
@slemeur slemeur added this to the 5.19.0 milestone Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants