Zhipeng Zhang created FLINK-31276:
-------------------------------------
Summary: 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
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)