[
https://issues.apache.org/jira/browse/JSPWIKI-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juan Pablo Santos RodrÃguez closed JSPWIKI-780.
-----------------------------------------------
closing, 2.10 was released on Feb '14
> 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
> Labels: tests
> Fix For: 2.10
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)