[
https://issues.apache.org/jira/browse/FLINK-31276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694916#comment-17694916
]
Zhipeng Zhang commented on FLINK-31276:
---------------------------------------
I repeated running it for 1000 times and did not reproduce the bug.
> VectorIndexerTest#testFitAndPredictWithHandleInvalid fails
> ----------------------------------------------------------
>
> Key: FLINK-31276
> URL: https://issues.apache.org/jira/browse/FLINK-31276
> Project: Flink
> Issue Type: Bug
> Components: Library / Machine Learning
> Affects Versions: ml-2.2.0
> Reporter: Zhipeng Zhang
> Priority: Major
>
> The unit test fails [1] and the error stack is:
>
> Error: Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> 22.176 s <<< FAILURE! - in org.apache.flink.ml.feature.VectorIndexerTest
> [592|https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426#step:4:593]Error:
> testFitAndPredictWithHandleInvalid Time elapsed: 4.178 s <<< FAILURE!
> [593|https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426#step:4:594]java.lang.AssertionError:
> expected:<The input contains unseen double: 2.0. See handleInvalid parameter
> for more options.> but was:<null>
> [594|https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426#step:4:595]
> at org.junit.Assert.fail(Assert.java:89)
> [595|https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426#step:4:596]
> at org.junit.Assert.failNotEquals(Assert.java:835)
> [596|https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426#step:4:597]
> at org.junit.Assert.assertEquals(Assert.java:120)
> [597|https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426#step:4:598]
> at org.junit.Assert.assertEquals(Assert.java:146)
> [598|https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426#step:4:599]
> at
> org.apache.flink.ml.feature.VectorIndexerTest.testFitAndPredictWithHandleInvalid(VectorIndexerTest.java:186)
>
> [1]
> [https://github.com/apache/flink-ml/actions/runs/4300867923/jobs/7497476426]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)