Hi Christian,
I'm trying to compile and build the basex-core.
All is going quit well except that one testrun is failing which results in not being able to build the basex-core.
I started the process from within the basex-core-directory with the command: mvn -U clean install.
After a zillion test almost as last the "org.basex.server.LockingTest" fails with the message:
java.lang.AssertionError: Parallel execution expected
at org.junit.Assert.failAssert.java:88
at org.junit.Assert.assertTrueAssert.java:41
at org.junit.Assert.LockingTest.testQueriesLockingTest.java:125
at org.junit.Assert.LockingTest. LockingTest.LockingTest.java:146
I'm running on a simple windows-system with windows vista home edition. No apache-serve running.
Can you give me a hint to get the basex-core build?
TIA.
Rob
PS. maven on Basex-test also give problems but basex-api and basex-examples works fine.
--- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus
Hi Rob,
Thanks for letting us know. The tests are curently running fine on our Windows and Linux machines for testing and deployment, but I hope we can find out what's the problem in you environment.
For now, simply delete the tests, or use -DskipTests to get BaseX installed without tests.
Best, Christian
On Sat, Aug 1, 2015 at 5:28 PM, Rob Stapper r.stapper@lijbrandt.nl wrote:
Hi Christian,
I’m trying to compile and build the basex-core.
All is going quit well except that one testrun is failing which results in not being able to build the basex-core.
I started the process from within the basex-core-directory with the command: mvn –U clean install.
After a zillion test almost as last the “org.basex.server.LockingTest” fails with the message:
java.lang.AssertionError: Parallel execution expected
at org.junit.Assert.fail<Assert.java:88> at org.junit.Assert.assertTrue<Assert.java:41> at org.junit.Assert.LockingTest.testQueries<LockingTest.java:125> at org.junit.Assert.LockingTest. LockingTest.<LockingTest.java:146>
I’m running on a simple windows-system with windows vista home edition. No apache-serve running.
Can you give me a hint to get the basex-core build?
TIA.
Rob
PS. maven on Basex-test also give problems but basex-api and basex-examples works fine.
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. www.avast.com
Hi Rob,
this test verifies parallel execution. To be able to also have test whether queries that should _not_ run in parallel actually do not, tests time out after a given time -- with defaults that proved to be reasonable on all of our machines, but _might_ be a little bit to short on others. Increasing those timeouts will make the general execution of the test suite slower, so we tried to keep them small.
To further investigate, would you please post back to the mailing list including:
- Any relevant environment variables set, especially everything related to Java or Maven - Increase the `SLEEP` and `SYNC` constants in `basex-core/src/test/java/org/basex/server/LockingTest.java` (those are the timeouts in milliseconds), and rerun the test suite.
Best regards from Lake Constance, Germany, Jens
Am 02.08.2015 um 19:22 schrieb Christian Grün:
Hi Rob,
Thanks for letting us know. The tests are curently running fine on our Windows and Linux machines for testing and deployment, but I hope we can find out what's the problem in you environment.
For now, simply delete the tests, or use -DskipTests to get BaseX installed without tests.
Best, Christian
On Sat, Aug 1, 2015 at 5:28 PM, Rob Stapper r.stapper@lijbrandt.nl wrote:
Hi Christian,
I’m trying to compile and build the basex-core.
All is going quit well except that one testrun is failing which results in not being able to build the basex-core.
I started the process from within the basex-core-directory with the command: mvn –U clean install.
After a zillion test almost as last the “org.basex.server.LockingTest” fails with the message:
java.lang.AssertionError: Parallel execution expected
at org.junit.Assert.fail<Assert.java:88> at org.junit.Assert.assertTrue<Assert.java:41> at org.junit.Assert.LockingTest.testQueries<LockingTest.java:125> at org.junit.Assert.LockingTest. LockingTest.<LockingTest.java:146>
I’m running on a simple windows-system with windows vista home edition. No apache-serve running.
Can you give me a hint to get the basex-core build?
TIA.
Rob
PS. maven on Basex-test also give problems but basex-api and basex-examples works fine.
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. www.avast.com
Hi Jens,
Ok that did the trick: I raised both constants 10-times and quit all activities except walking the dogs. Didn't get the error anymore and the build completed.
Thnx, Rob
PS. sound like nice: Lake Constance.
-----Oorspronkelijk bericht----- Van: Jens Erat [mailto:jens.erat@uni-konstanz.de] Verzonden: zondag 2 augustus 2015 20:35 Aan: Christian Grün; Rob Stapper CC: BaseX Onderwerp: Re: [basex-talk] compiling and building basex-core with maven
Hi Rob,
this test verifies parallel execution. To be able to also have test whether queries that should _not_ run in parallel actually do not, tests time out after a given time -- with defaults that proved to be reasonable on all of our machines, but _might_ be a little bit to short on others. Increasing those timeouts will make the general execution of the test suite slower, so we tried to keep them small.
To further investigate, would you please post back to the mailing list including:
- Any relevant environment variables set, especially everything related to Java or Maven - Increase the `SLEEP` and `SYNC` constants in `basex-core/src/test/java/org/basex/server/LockingTest.java` (those are the timeouts in milliseconds), and rerun the test suite.
Best regards from Lake Constance, Germany, Jens
Am 02.08.2015 um 19:22 schrieb Christian Grün:
Hi Rob,
Thanks for letting us know. The tests are curently running fine on our Windows and Linux machines for testing and deployment, but I hope we can find out what's the problem in you environment.
For now, simply delete the tests, or use -DskipTests to get BaseX installed without tests.
Best, Christian
On Sat, Aug 1, 2015 at 5:28 PM, Rob Stapper r.stapper@lijbrandt.nl wrote:
Hi Christian,
I’m trying to compile and build the basex-core.
All is going quit well except that one testrun is failing which results in not being able to build the basex-core.
I started the process from within the basex-core-directory with the command: mvn –U clean install.
After a zillion test almost as last the “org.basex.server.LockingTest” fails with the message:
java.lang.AssertionError: Parallel execution expected
at org.junit.Assert.fail<Assert.java:88> at org.junit.Assert.assertTrue<Assert.java:41> at org.junit.Assert.LockingTest.testQueries<LockingTest.java:125> at org.junit.Assert.LockingTest. LockingTest.<LockingTest.java:146>
I’m running on a simple windows-system with windows vista home edition. No apache-serve running.
Can you give me a hint to get the basex-core build?
TIA.
Rob
PS. maven on Basex-test also give problems but basex-api and basex-examples works fine.
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. www.avast.com
basex-talk@mailman.uni-konstanz.de