[MGNLPER-51] Investigate and fix unstable test Created: 30/Aug/18  Updated: 24/Oct/18  Resolved: 24/Oct/18

Status: Closed
Project: Periscope
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Task Priority: Neutral
Reporter: Cedric Reichenbach Assignee: Cedric Reichenbach
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Periscope back-end MVP
Sprint: Basel 158
Story Points: 1

 Description   

info.magnolia.periscope.search.jcr.JcrSearchResultSupplierTest.resultSupplierDoesNotReturnDuplicatedResults occasionally fails with the following result:

java.lang.AssertionError: 
Expected: is <1>
     but: was <0>
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
        at info.magnolia.periscope.search.jcr.JcrSearchResultSupplierTest.resultSupplierDoesNotReturnDuplicatedResults(JcrSearchResultSupplierTest.java:186)

Investigate the root cause and fix it.


Generated at Mon Feb 12 10:28:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.