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

[cli] Fix cli tests by reworking how integration tests are launched #3991

Merged
merged 3 commits into from
Feb 2, 2017

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Feb 1, 2017

What does this PR do?

  • We used OS path mounted into container path (it makes issues as on Windows we don’t have these paths)
  • Now use /dockerfiles path inside the container
  • add skip check for nightlies or it was downloading new images while testing the current nightly
  • add —rm for cleaning containers at the end of docker run
  • introduce of some asserts instead of custom checks
  • Fix windows issue (like path with spaces)
  • Fix teardown of che start tests

What issues does this PR fix or reference?

#3980

Changelog

Use /dockerfiles path inside CLI container for launch
Add skip check for nightlies
Add --rm for cleaning containers at the end of the start
Introduce asserts instead of custom checks

Release Notes

N/A for bugs

Docs PR

N/A for bugs

- We used OS path mounted into container path (it makes issues as on Windows we don’t have these paths)
- Now use /dockerfiles path inside the container
- add skip check for nightlies or it was downloading new images while testing the current nightly
- add —rm for cleaning containers at the end of the start
- introduce of some asserts instead of custom checks

Change-Id: I352d7c475796df641c1e34f461c55a76c897922d
Signed-off-by: Florent BENOIT <[email protected]>
@benoitf benoitf 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. labels Feb 1, 2017
@benoitf benoitf self-assigned this Feb 1, 2017
@codenvy-ci
Copy link

benoitf and others added 2 commits February 2, 2017 00:16
Change-Id: I36e2527c2c334221ed2bea0fe99b8ab75ce02ea7
Signed-off-by: Florent BENOIT <[email protected]>
Signed-off-by: Tyler Jewell [email protected] <[email protected]>
@TylerJewell TylerJewell added the severity/P2 Has a minor but important impact to the usage or development of the system. label Feb 2, 2017
@codenvy-ci
Copy link

@benoitf benoitf merged commit 5554345 into master Feb 2, 2017
@benoitf benoitf deleted the che#3980 branch February 2, 2017 08:43
@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 Feb 2, 2017
@benoitf benoitf added this to the 5.3.0 milestone Feb 2, 2017
@JamesDrummond JamesDrummond modified the milestones: 5.2.1, 5.3.0 Feb 2, 2017
@JamesDrummond JamesDrummond mentioned this pull request Feb 17, 2017
9 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
…clipse-che#3991)

* Fix eclipse-che#3980 by reworking how integration tests are launched
- We used OS path mounted into container path (it makes issues as on Windows we don’t have these paths)
- Now use /dockerfiles path inside the container
- add skip check for nightlies or it was downloading new images while testing the current nightly
- add —rm for cleaning containers at the end of docker run
- introduce of some asserts instead of custom checks
- Fix windows issue (like path with spaces)
- Fix teardown of che start tests

Change-Id: I352d7c475796df641c1e34f461c55a76c897922d
Signed-off-by: Florent BENOIT <[email protected]>
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. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants