[
https://issues.apache.org/jira/browse/UNOMI-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Sinovassin-Naïk reassigned UNOMI-782:
----------------------------------------------
Assignee: Jonathan Sinovassin-Naïk
> Fix IT tests
> ------------
>
> Key: UNOMI-782
> URL: https://issues.apache.org/jira/browse/UNOMI-782
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: Jonathan Sinovassin-Naïk
> Assignee: Jonathan Sinovassin-Naïk
> Priority: Major
> Fix For: unomi-1.9.0
>
>
> Fix testSegmentWithNegativePastEventCondition and testScoringRecalculation on
> branch 1.x
> These two are failing for a while really often due to some flakiness.
> We should investigate on the failure and fix the tests
> {code:java}
> Error: Tests run: 132, Failures: 1, Errors: 1, Skipped: 0, Time elapsed:
> 789.938 s <<< FAILURE! - in org.apache.unomi.itests.AllITs
> Error: org.apache.unomi.itests.SegmentIT.testScoringRecalculation Time
> elapsed: 7.304 s <<< ERROR!
> java.lang.NullPointerException
> at
> org.apache.unomi.itests.SegmentIT.testScoringRecalculation(SegmentIT.java:561)
> Error:
> org.apache.unomi.itests.SegmentIT.testSegmentWithNegativePastEventCondition
> Time elapsed: 28.214 s <<< FAILURE!
> java.lang.AssertionError: Profile should not be engaged in the segment
> anymore, it have a least one event now
> at
> org.apache.unomi.itests.SegmentIT.testSegmentWithNegativePastEventCondition(SegmentIT.java:275)
> [INFO]
> [INFO] Results:
> [INFO]
> Error: Failures:
> Error:
> SegmentIT.testSegmentWithNegativePastEventCondition:275->BaseIT.keepTrying:256
> Profile should not be engaged in the segment anymore, it have a least one
> event now
> Error: Errors:
> Error: SegmentIT.testScoringRecalculation:561 NullPointer
> [INFO]
> Error: Tests run: 132, Failures: 1, Errors: 1, Skipped: 0
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)