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
Original issue reported on code.google.com by
shalomsh...@gmail.com
on 9 Jan 2014 at 11:16