arturobernalg opened a new pull request, #614:
URL: https://github.com/apache/jspwiki/pull/614

   SearchManagerTest.pageNamesFor failed with a NullPointerException when the 
search provider had no answer yet, and the tests that wait with it for the 
index to be ready (Awaitility) did not wait. It broke the windows-latest and 
Java 17 job of #610 with testPageNameTermStillStartsAtTheWord, and the job 
passed when it was run again.
   
   pageNamesFor now gives an empty list when the provider has no answer, so the 
wait goes on until the index answers. Only the test helper changes.
   
   SearchManagerTest passes three times in a row and the full "mvn clean 
package" passes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to