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

Fix DockerInternalRuntime test that is not throwing an expected checked exception #7027

Merged
merged 1 commit into from
Oct 27, 2017

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Oct 27, 2017

What does this PR do?

RuntimeStartInterruptedException is a checked exception that can't be thrown by createNetwork method
It is reported with new version of Mockito

Replacing then the checked exception by the exception that createNetwork method can throw (which is InternalInfrastructureException)

note: I can change the code to what you'll expect, it's just that current code is not possible.

What issues does this PR fix or reference?

#5326

Release Notes

N/A

Docs PR

N/A

Change-Id: Icccf451ef5570494441c583495f41382246e10f1
Signed-off-by: Florent BENOIT [email protected]

… thrown by createNetwork method

It is reported with new version of Mockito

Replacing then the checked exception by the exception that createNetwork method can throw (which is InternalInfrastructureException)

Change-Id: Icccf451ef5570494441c583495f41382246e10f1
Signed-off-by: Florent BENOIT <[email protected]>
@benoitf benoitf added the kind/bug Outline of a bug - must adhere to the bug report template. label Oct 27, 2017
@benoitf benoitf self-assigned this Oct 27, 2017
@benoitf benoitf requested review from garagatyi and akorneta October 27, 2017 05:54
@benoitf benoitf added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. target/che6 labels Oct 27, 2017
@benoitf
Copy link
Contributor Author

benoitf commented Oct 27, 2017

ci-build

@codenvy-ci
Copy link

@benoitf benoitf merged commit 4424b13 into che6 Oct 27, 2017
@benoitf benoitf deleted the fix-test branch October 27, 2017 07:38
@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 Oct 27, 2017
@benoitf benoitf added this to the 6.0.0-M1 milestone Oct 27, 2017
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.

4 participants