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

org.eclipse.che.plugin.docker.machine.MachineProviderImplTest.setUp test is failing randomly on CI #5555

Closed
benoitf opened this issue Jul 6, 2017 · 1 comment · Fixed by #5585
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@benoitf
Copy link
Contributor

benoitf commented Jul 6, 2017

We have PR jenkins jobs that fails very often with the error :

org.eclipse.che.plugin.docker.machine.MachineProviderImplTest.setUp
Error Message

'getContainerLogs' is a *void method* and it *cannot* be stubbed with a *return value*!
Voids are usually stubbed with Throwables:
    doThrow(exception).when(mock).someVoidMethod();

so we need to launch again the tests...so jenkins jobs take longer to perform as we run them more than once.
Maybe there is wrong init/cleanup sequence in the tests

Reproduction Steps:
Jenkins PR jobs like
https://ci.codenvycorp.com/job/che-pullrequests-build/org.eclipse.che.plugin$che-plugin-docker-machine/3009/testReport/

@benoitf benoitf added kind/bug Outline of a bug - must adhere to the bug report template. team/platform labels Jul 6, 2017
@garagatyi
Copy link

If issue appear again, please, reopen the issue

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 a pull request may close this issue.

2 participants