JUnit tests fail with Mercurial >= 3.3
The following JUnit test fail with Mercurial 3.3 and 3.4:
#!java
Failed tests:
testError(com.aragost.javahg.internals.JavaHgTestMercurialExtensionTest): expected:<[foo bar]> but was:<[]>
testStdout(com.aragost.javahg.internals.JavaHgTestMercurialExtensionTest): Exception expected! Return code: 0.
testUnknownMandatoryChannel(com.aragost.javahg.internals.JavaHgTestMercurialExtensionTest): Exception expected! Return code: 0.
Tests in error:
testExit(com.aragost.javahg.internals.JavaHgTestMercurialExtensionTest): Server process terminated unexpectedly with exitvalue: 200
testKeepDeleteConflict(com.aragost.javahg.commands.GraftCommandTest): Did not obtain server lock after 120 seconds.
testMergeConflict(com.aragost.javahg.commands.GraftCommandTest): Did not obtain server lock after 120 seconds.
test(com.aragost.javahg.commands.GraftCommandTest): Did not obtain server lock after 120 seconds.
There are additional failures with Mercurial 3.5:
#!java
Failed tests:
testPull(com.aragost.javahg.commands.PullCommandTest): expected:<1> but was:<9>
testImportBundle(com.aragost.javahg.OverlayRepositoryTest)
testPushCreatingNewHead(com.aragost.javahg.commands.PushCommandTest)
I have tracked down the last one and created a fix for it: https://bitbucket.org/cgiess/javahg/commits/fde56dc7048b13accbafb415acf99fc8418bc514