Juan Pablo Santos RodrÃguez created JSPWIKI-780: ---------------------------------------------------
Summary: Build-dependent tasks Key: JSPWIKI-780 URL: https://issues.apache.org/jira/browse/JSPWIKI-780 Project: JSPWiki Issue Type: Task Affects Versions: 2.10 Reporter: Juan Pablo Santos RodrÃguez Some tests may fail depending on the execution order, so far: * SearchManagerTest: {code} Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 6.815 sec <<< FAILURE! testTitleSearch(org.apache.wiki.search.SearchManagerTest) Time elapsed: 0.224 sec <<< FAILURE! junit.framework.AssertionFailedError: no pages expected:<1> but was:<5> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.apache.wiki.search.SearchManagerTest.testTitleSearch(SearchManagerTest.java:164) testTitleSearch2(org.apache.wiki.search.SearchManagerTest) Time elapsed: 0.221 sec <<< FAILURE! junit.framework.AssertionFailedError: no pages expected:<1> but was:<5> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.apache.wiki.search.SearchManagerTest.testTitleSearch2(SearchManagerTest.java:180) {code} * UndefinedPagesPluginTest: {code} Running org.apache.wiki.plugin.UndefinedPagesPluginTest Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.321 sec <<< FAILURE! testCount(org.apache.wiki.plugin.UndefinedPagesPluginTest) Time elapsed: 0.286 sec <<< FAILURE! junit.framework.ComparisonFailure: expected:<1[]> but was:<1[010]> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.apache.wiki.plugin.UndefinedPagesPluginTest.testCount(UndefinedPagesPluginTest.java:94) {code} * InternationalizationManagerTest: may fail if system locale is different from "en" and default locale hasn't been overwritten. Assertions from this Test case should match against localized test -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira