[
https://issues.apache.org/jira/browse/FLINK-33610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788459#comment-17788459
]
Matthias Pohl commented on FLINK-33610:
---------------------------------------
It's hard to grasp what the actual error is. The tests in this class should be
improved: The exception that's caught should be stored in an
{{AtomicReference}} instead of only storing the fact that an exception was
caught. The {{printStacktrace}} is not provided anywhere in the logs.
> CoGroupTaskTest.testCancelCoGroupTaskWhileCoGrouping failed with an
> AssertionError
> ----------------------------------------------------------------------------------
>
> Key: FLINK-33610
> URL: https://issues.apache.org/jira/browse/FLINK-33610
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.19.0
> Reporter: Matthias Pohl
> Priority: Major
> Labels: test-stability
>
> [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=54741&view=logs&j=675bf62c-8558-587e-2555-dcad13acefb5&t=5878eed3-cc1e-5b12-1ed0-9e7139ce0992&l=7690]
> {code:java}
> Nov 21 01:07:49 01:07:49.733 [ERROR] Tests run: 18, Failures: 1, Errors: 0,
> Skipped: 0, Time elapsed: 6.204 s <<< FAILURE! - in
> org.apache.flink.runtime.operators.CoGroupTaskTest
> Nov 21 01:07:49 01:07:49.733 [ERROR]
> org.apache.flink.runtime.operators.CoGroupTaskTest.testCancelCoGroupTaskWhileCoGrouping
> Time elapsed: 1.01 s <<< FAILURE!
> Nov 21 01:07:49 java.lang.AssertionError: Test threw an exception even though
> it was properly canceled.
> Nov 21 01:07:49 at
> org.apache.flink.runtime.operators.CoGroupTaskTest.testCancelCoGroupTaskWhileCoGrouping(CoGroupTaskTest.java:448)
> Nov 21 01:07:49 at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Nov 21 01:07:49 at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> Nov 21 01:07:49 at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Nov 21 01:07:49 at
> java.base/java.lang.reflect.Method.invoke(Method.java:568)
> [...]{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)