Skip to content

Selenium: Fix reason of failing the "RollingUpdateStrategyWithEditorTest" selenium test#10269

Merged
Ohrimenko1988 merged 9 commits intomasterfrom
selen-10251
Jul 5, 2018
Merged

Selenium: Fix reason of failing the "RollingUpdateStrategyWithEditorTest" selenium test#10269
Ohrimenko1988 merged 9 commits intomasterfrom
selen-10251

Conversation

@Ohrimenko1988
Copy link
Copy Markdown
Contributor

What does this PR do?

Fix reason of failing the "RollingUpdateStrategyWithEditorTest" selenium test

What issues does this PR fix or reference?

Issue: #10251

Release Notes

Docs PR

@Ohrimenko1988 Ohrimenko1988 added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. team/che-qe labels Jul 4, 2018
@Ohrimenko1988 Ohrimenko1988 requested a review from vparfonov as a code owner July 4, 2018 14:30
@Ohrimenko1988
Copy link
Copy Markdown
Contributor Author

ci-build

import org.openqa.selenium.support.ui.ExpectedCondition;

@Singleton
public class HotUpdateUtil {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be grateful to have short info about proposal of the class in the docs

private final TestUserPreferencesServiceClient testUserPreferencesServiceClient;

@Inject
HotUpdateUtil(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's mostly about Rolling update, so the name HotRollingUpdateUtil better describes class propose, IMHO

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is also used in the recreate test, and all methods do not have a dependency to update strategy.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You are right.

@@ -63,7 +51,7 @@ public void createMavenArchetypeStartProjectByWizard() throws Exception {
workspaces.waitWorkspaceStatus(workspaceForStarting.getName(), Workspaces.Status.STOPPED);

// execute rolling update command
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You may mean // execute rollout update command.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Even more, I think "hotUpdateUtil.executeMasterPodUpdateCommand();" definitely clear command so comment is redundant here.

@codenvy-ci
Copy link
Copy Markdown

@Ohrimenko1988 Ohrimenko1988 merged commit 77f0385 into master Jul 5, 2018
@Ohrimenko1988 Ohrimenko1988 deleted the selen-10251 branch July 5, 2018 13:20
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 5, 2018
@benoitf benoitf added this to the 6.8.0 milestone Jul 5, 2018
hbhargav pushed a commit to hbhargav/che that referenced this pull request Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Outline of a bug - must adhere to the bug report template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants