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

Broken unit tests #283

Open
GoogleCodeExporter opened this issue May 19, 2015 · 1 comment
Open

Broken unit tests #283

GoogleCodeExporter opened this issue May 19, 2015 · 1 comment
Labels
P4 status: accepted type=defect Bug, not working as expected

Comments

@GoogleCodeExporter
Copy link

To replicate:
1. git pull (get latest from MASTER)
2. on Windows 7 machine (64 bit), run unit tests through Maven.
3. You will see the following failures:

The Maven build now fails on a few unit tests: (I did "git pull" first):

Results :

Failed tests:   
failsToAcceptConnection(com.google.caliper.runner.StreamServiceTest): 
expected:<class java.net.SocketException> but was:<class java.io.IOException>
  simpleArgsTest(com.google.caliper.runner.WorkerProcessTest): expected:<[/usr/bin/foo/bin/]java> but was:<[C:\usr\bin\foo\bin\]java>

Tests in error:
  testReadOutput(com.google.caliper.runner.StreamServiceTest): Expected the service to be RUNNING, but the service has FAILED
  failingProcess(com.google.caliper.runner.StreamServiceTest): Expected the service to be RUNNING, but the service has FAILED
  processDoesntExit(com.google.caliper.runner.StreamServiceTest): Expected the service to be RUNNING, but the service has FAILED
  testSocketInputOutput(com.google.caliper.runner.StreamServiceTest): Expected the service to be RUNNING, but the service has FAILED
  testSocketClosesBeforeProcess(com.google.caliper.runner.StreamServiceTest): Expected the service to be RUNNING, but the service has FAILED
  shutdownHook_waitFor(com.google.caliper.runner.WorkerProcessTest): Cannot run program "bash": CreateProcess error=2, The system cannot find the file specified
  shutdownHook_exitValueThrows(com.google.caliper.runner.WorkerProcessTest): Cannot run program "bash": CreateProcess error=2, The system cannot find the file specified
  shutdownHook_exitValue(com.google.caliper.runner.WorkerProcessTest): Cannot run program "bash": CreateProcess error=2, The system cannot find the file specified
  shutdownHook_destroy(com.google.caliper.runner.WorkerProcessTest): Cannot run program "bash": CreateProcess error=2, The system cannot find the file specified

Tests run: 96, Failures: 2, Errors: 9, Skipped: 0


Also - one other failure seen when running Maven test through Git shell (on 
same windows machine):

Results :

Failed tests:   simpleArgsTest(com.google.caliper.runner.WorkerProcessTest): 
expected:<[/usr/bin/foo/bin/]java> but was:<[C:\usr\bin\foo\bin\]java>

Tests run: 96, Failures: 1, Errors: 0, Skipped: 0


Original issue reported on code.google.com by shalomsh...@gmail.com on 9 Jan 2014 at 11:16

@GoogleCodeExporter
Copy link
Author

Original comment by gak@google.com on 9 Jan 2014 at 11:21

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P4 status: accepted type=defect Bug, not working as expected
Projects
None yet
Development

No branches or pull requests

4 participants