[
https://issues.apache.org/jira/browse/JSPWIKI-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex O'Ree updated JSPWIKI-1371:
--------------------------------
Fix Version/s: 3.0.2
> SearchManagerTest failed once in the CI of the release branch with an extra
> page ThisPage in the result
> -------------------------------------------------------------------------------------------------------
>
> Key: JSPWIKI-1371
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1371
> Project: JSPWiki
> Issue Type: Bug
> Reporter: Arturo Bernal
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.2
>
>
> In the Java CI of the branch release/v3.0.1-rc2 (ubuntu-latest, Java 21),
> SearchManagerTest.testWildcardAfterUnderscoreInPageName failed: expected
> [Page_WithUnderscore] but was [Page_WithUnderscore, ThisPage]. The same
> commit passed in another run.
> What I measured: the surefire configuration of jspwiki-main uses runOrder
> random. ImageTest saves the page ThisPage in its test repository and does not
> delete it, while InsertPageTest deletes it in @AfterEach. Running ImageTest
> and then SearchManagerTest in the same JVM (-Dsurefire.runOrder=alphabetical)
> passed, so I could not reproduce the failure and the cause is not confirmed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)