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

CDK itests refactoring #1651

Merged
merged 1 commit into from Jan 26, 2018
Merged

CDK itests refactoring #1651

merged 1 commit into from Jan 26, 2018

Conversation

odockal
Copy link
Member

@odockal odockal commented Jan 17, 2018

- added 120 second treshold for each server adapter start operation - CDK - 216 (resolved)
- finished adding of mocking files
- discovery itests repaired
- discovery itests refactored to run faster at the expense of test separation
- removed deprecated tests - cdk 2.x itests removed from suites
- added wait condition to accept dfferent problem dialogs during cdk start up
- added skipping of cdk rhel image registration
- added test case with verification of cdk rhel image registration

Signed-off-by: Ondrej Dockal odockal@redhat.com

Pull Request Checklist

General

  • Is this a blocking issue or new feature? If yes, QE needs to +1 this PR

Code

  • Are method-/class-/variable-names meaningful?
  • Are methods concise, not too long?
  • Are catch blocks catching precise Exceptions only (no catch all)?

Testing

  • Are there unit-tests?
  • Are there integration tests (or at least a jira to tackle these)?
  • Is the non-happy path working, too?
  • Are other parts that use the same component still working fine?

Function

  • Does it work?

@@ -39,6 +44,10 @@

Copy link
Member

Choose a reason for hiding this comment

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

Shouldnt we rename CDEServer to CDKServer (and the setters/accessors) to better match the component under test and the test classes which are also called CDKTest*? Or am I missing something?

Copy link
Member Author

@odockal odockal Jan 18, 2018

Choose a reason for hiding this comment

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

I was naming the class base on the fact that adapter itself is called 'Container Development Environment'... no problem to change the name to be aligned with test classes.

@jbosstools jbosstools deleted a comment from adietish Jan 18, 2018
@jbosstools jbosstools deleted a comment from adietish Jan 18, 2018
@jbosstools jbosstools deleted a comment from adietish Jan 18, 2018
@odockal
Copy link
Member Author

odockal commented Jan 18, 2018

@adietish All remarks processed and pushed. thanks Andre!

@odockal
Copy link
Member Author

odockal commented Jan 24, 2018

@adietish @jkopriva Branch is unfrozen, would be great to have this merged unless you object anything.

@jkopriva
Copy link
Member

@odockal LGTM, can you also post link to green build?

@jkopriva
Copy link
Member

testPR

@odockal
Copy link
Member Author

odockal commented Jan 24, 2018

@adietish Do you mind taking care of this? We got compare baseline check failure, we need to bump up the plugins' versions.

@adietish
Copy link
Member

@odockal any change that we'd bump the plugin version so that we get a green build here?

@odockal
Copy link
Member Author

odockal commented Jan 24, 2018

@adietish I believe that we need to bump up everything in openshift/plugins, features, other projects etc. would be better to have another PR for this and after merging I would rebase, WDYT? Let ask @nickboldt when he will have time for this (and maybe even some automation script as well).

@odockal
Copy link
Member Author

odockal commented Jan 25, 2018

testPR

	- added 90 second treshold for each server adapter start operation - CDK-216
	- finished adding of mocking files
	- discovery itests repaired
	- discovery itests refactored to run faster at the expense of test separation
	- removed deprecated tests - cdk 2.x itests removed
	- added wait condition to accept dfferent problem dialogs during cdk start up
	- added skipping of cdk rhel image registration
	- added test case with verification of cdk rhel image registration

Signed-off-by: Ondrej Dockal <odockal@redhat.com>
@adietish adietish merged commit a58951c into jbosstools:master Jan 26, 2018
@odockal odockal deleted the cdk-refactoring branch January 30, 2018 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants