-
Notifications
You must be signed in to change notification settings - Fork 13.7k
[FLINK-38022][table] Throw exception in main thread in tests when any exception is thrown in async thread during looking up #26752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… exception is thrown in async thread during looking up Furthermore, this pr is also trying to fix the potential bugs for ConcurrentModificationException while copying list in tests.
@Au-Miner Can you please take a look at this pr? |
Thanks for improving the testing code logic! |
Au-Miner
reviewed
Jul 4, 2025
flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/MockEnvironment.java
Show resolved
Hide resolved
.../org/apache/flink/table/runtime/operators/join/deltajoin/StreamingDeltaJoinOperatorTest.java
Show resolved
Hide resolved
.../org/apache/flink/table/runtime/operators/join/deltajoin/StreamingDeltaJoinOperatorTest.java
Show resolved
Hide resolved
Au-Miner
reviewed
Jul 4, 2025
.../org/apache/flink/table/runtime/operators/join/deltajoin/StreamingDeltaJoinOperatorTest.java
Show resolved
Hide resolved
davidradl
reviewed
Jul 4, 2025
...java/org/apache/flink/table/runtime/operators/join/deltajoin/StreamingDeltaJoinOperator.java
Show resolved
Hide resolved
davidradl
reviewed
Jul 4, 2025
.../org/apache/flink/table/runtime/operators/join/deltajoin/StreamingDeltaJoinOperatorTest.java
Outdated
Show resolved
Hide resolved
Au-Miner
approved these changes
Jul 7, 2025
xuyangzhong
added a commit
to xuyangzhong/flink
that referenced
this pull request
Jul 7, 2025
… exception is thrown in async thread during looking up (apache#26752) * [FLINK-38022][table] Throw exception in main thread in tests when any exception is thrown in async thread during looking up * Furthermore, this pr is also trying to fix the potential bugs for ConcurrentModificationException while copying list in tests. (cherry picked from commit d4c76dc)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
This pr aims to do two things:
tell us what happens in

StreamingDeltaJoinOperatorTest
instead of hanging the CIhttps://github.com/apache/flink/actions/runs/15920474470/job/44906494863
this pr is also trying to fix the potential bugs causing the hang for
ConcurrentModificationException
while copying list in testsBrief change log
Verifying this change
New and existent tests can cover this pr.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation