Test doesn't succeed for Rev. 2715 / 2718
Monday, 22 November 2010 · 2 messages
T
Thomas22 Nov 2010 10:21 #
Hi,
I just checked out Rev. 2718.
During build, I get the following error:
Running org.basex.test.server.ServerCmdTest
BaseX 6.3.3 [Server]
Server was started.
Tests run: 34, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.541 sec <<< FAILURE!
Server was stopped.
When I uncomment the following lines in CmdTest (that have been changed in 2715), the test succeeds.
l 350 ok(new Open(NAME));
l 351 no(new Restore(NAME));
l 352 ok(new XQuery("."));The message says:
java.lang.AssertionError: Database 'input' was not found.
at org.junit.Assert.fail(Assert.java:91)
at org.basex.test.server.CmdTest.ok(CmdTest.java:428)
at org.basex.test.server.CmdTest.restore(CmdTest.java:350)The other tests succeed. Any ideas?
Greetings,
--
Thomas
CG
Christian Grün22 Nov 2010 13:35 #
Quoted text · Thomas · 9 lines
> I just checked out Rev. 2718. > During build, I get the following error: > > Running org.basex.test.server.ServerCmdTest > BaseX 6.3.3 [Server] > Server was started. > Tests run: 34, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.541 > sec <<< FAILURE! > Server was stopped.
This issue has been fixed with Rev. 2720, along with minor other issues.
Thanks for the accurate feedback!
Christian
Written for BaseX 6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery