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
JBIDE-25870 - Add CDK runtime download integration tests #1735
Conversation
@@ -61,6 +64,10 @@ | |||
public static final String SECURE_STORAGE = "Secure Storage"; | |||
} | |||
|
|||
public static class Links { |
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.
@@ -95,6 +102,18 @@ | |||
public static final String MINISHIFT_SERVER_NAME = "Minishift 1.7+"; | |||
} | |||
|
|||
public static class Messages { |
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.
LINUX("linux", ""), | ||
WINDOWS("win", ".exe"), | ||
MAC("darwin", ""), | ||
LINUX("linux", "linux", ""), |
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.
public enum CDKVersion { | ||
|
||
CDK2X ("CDK", "2.x", CDKLabel.Server.CDK_SERVER_NAME, ""), | ||
CDK300 ("CDK", "3.0.0", CDKLabel.Server.CDK3_SERVER_NAME, "cdk-3.0-minishift-" + CDKRuntimeOS.get().getRuntimeFullName() + "-amd64" + CDKRuntimeOS.get().getSuffix()), |
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.
Waiting for jenkins build to actually run a job with tests. Lot of problems recently. |
6c384e1
to
3a01bdc
Compare
@@ -40,6 +42,7 @@ | |||
public static final String NEW_SERVER_WIZARD = "New Server"; | |||
public static final String WARNING_FOLDER_EXISTS = "Warning: Folder already exists!"; | |||
public static final String WARNING_CDK_NOT_INICIALIZED = "Warning: CDK has not been properly initialized!"; | |||
public static final String DOWNLOAD_RUNTIMES = "Download Runtimes"; | |||
} | |||
|
|||
public static class Labels { |
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.
@@ -18,7 +20,7 @@ | |||
public class CDKLabel { |
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.
public static final String NOT_COMPATIBLE = "is not compatible with this server adapter"; | ||
public static final String SERVER_ADAPTER_REPRESENTING = "server adapter representing"; | ||
} | ||
|
||
public static class Others { |
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.
@@ -18,7 +20,7 @@ | |||
public class CDKLabel { | |||
|
|||
public static class Job { |
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.
public static class Links { | ||
public static final String DOWNLOAD_AND_INSTALL_RUNTIME = "Download and install runtime..."; | ||
} | ||
|
||
public static class Sections { |
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.
f08a251
to
1e18a7b
Compare
Rhel7 and win10 green jobs: https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_integration_tests/job/cdk.itests/590/, there are some fails on win7, though... |
@jkopriva could you take a look, please? |
@@ -34,10 +39,17 @@ | |||
// UI integration tests | |||
|
|||
// Wizard tests by server adapter type | |||
CDK3ServerWizardTest.class, | |||
/*CDK3ServerWizardTest.class, |
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.
@odockal what is the purpose of this have commented?
LINUX("linux", ""), | ||
WINDOWS("win", ".exe"), | ||
MAC("darwin", ""), | ||
LINUX("linux", "linux", ""), |
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.
@odockal maybe there could comment what these strings means...
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.
updated in class javadoc.
CDK320 ("CDK", "3.2.0", CDKLabel.Server.CDK32_SERVER_NAME, "cdk-3.2.0-1-minishift-" + CDKRuntimeOS.get().getRuntimeFullName() + "-amd64" + CDKRuntimeOS.get().getSuffix()), | ||
CDK330 ("CDK", "3.3.0", CDKLabel.Server.CDK32_SERVER_NAME, "cdk-3.3.0-1-minishift-" + CDKRuntimeOS.get().getRuntimeFullName() + "-amd64" + CDKRuntimeOS.get().getSuffix()), | ||
CDK340 ("CDK", "3.4.0", CDKLabel.Server.CDK32_SERVER_NAME, "cdk-3.4.0-2-minishift-" + CDKRuntimeOS.get().getRuntimeFullName() + "-amd64" + CDKRuntimeOS.get().getSuffix()), | ||
MINISHIFT1140 ("Minishift", "1.14.0", CDKLabel.Server.MINISHIFT_SERVER_NAME, "minishift-1.14.0-" + CDKRuntimeOS.get().getRuntimeFullName() + "-amd64"), |
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.
96952ca
to
a21b26b
Compare
- ITests for downloading container runtimes CDK 3.x, CDK 3.2+ and Minishift 1.14, 1.15.1, 1.16.1 and 1.17.0 - Checking passing of credentials in download runtime wizard - Tests downloading into default folders Signed-off-by: Ondrej Dockal <odockal@redhat.com>
SonarQube analysis reported 18 issues Watch the comments in this conversation to review them. 8 extra issuesNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
testPR |
LGTM, merging :) |
Signed-off-by: Ondrej Dockal odockal@redhat.com
Pull Request Checklist
General
Code
Testing
Function