-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-32850][flink-runtime][JUnit5 Migration] Module: The io package of flink-runtime #23200
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Jiabao-Sun for the quick contribution!
Would you mind updating all change about these improvements?
- Update the
isEqualTo(0)
toisZero()
- Update the
isEqualTo(1)
toisOne()
- Check whether the
fail
withcatch
can be updated toassertThatThrownBy
...k-runtime/src/test/java/org/apache/flink/runtime/io/disk/BatchShuffleReadBufferPoolTest.java
Outdated
Show resolved
Hide resolved
...k-runtime/src/test/java/org/apache/flink/runtime/io/disk/BatchShuffleReadBufferPoolTest.java
Outdated
Show resolved
Hide resolved
...k-runtime/src/test/java/org/apache/flink/runtime/io/disk/BatchShuffleReadBufferPoolTest.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/FileChannelManagerImplTest.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/SpillingBufferTest.java
Outdated
Show resolved
Hide resolved
Thanks @1996fanrui for the review. |
flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/FileChannelManagerImplTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/org/apache/flink/runtime/io/disk/iomanager/AsynchronousFileIOChannelTest.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/IOManagerAsyncTest.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/IOManagerAsyncTest.java
Outdated
Show resolved
Hide resolved
flink-runtime/src/test/java/org/apache/flink/runtime/io/disk/iomanager/IOManagerITCase.java
Show resolved
Hide resolved
...e/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterDelegateTest.java
Outdated
Show resolved
Hide resolved
...k-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java
Outdated
Show resolved
Hide resolved
...k-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java
Outdated
Show resolved
Hide resolved
...k-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java
Outdated
Show resolved
Hide resolved
...k-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java
Outdated
Show resolved
Hide resolved
I didn't finish the review due to this PR is totally huge! Hi @X-czh , would you mind helping review this PR in your free time? thanks~ There are too many test migration PRs are waiting for my review, and I don't have enough time to do all review. It's better for contributors to review each other first. Of course, I will review them as well. cc @Jiabao-Sun |
Hi @Jiabao-Sun, thanks for the contribution! Due to the size of the PR, I expect it to take quite a few time, I'll manage to finish reviewing it by the end of this week. |
fb84fea
to
93cb8f2
Compare
...k-runtime/src/test/java/org/apache/flink/runtime/io/disk/BatchShuffleReadBufferPoolTest.java
Show resolved
Hide resolved
...ime/src/test/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPoolDestroyTest.java
Show resolved
Hide resolved
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/buffer/LocalBufferPoolTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/apache/flink/runtime/io/network/partition/SortMergeResultPartitionTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/apache/flink/runtime/io/network/partition/SortMergeResultPartitionTest.java
Outdated
Show resolved
Hide resolved
...src/test/java/org/apache/flink/runtime/io/network/partition/ProducerFailedExceptionTest.java
Outdated
Show resolved
Hide resolved
...src/test/java/org/apache/flink/runtime/io/network/partition/ProducerFailedExceptionTest.java
Outdated
Show resolved
Hide resolved
93cb8f2
to
adc6af1
Compare
Thanks @X-czh for the detailed review. |
Thanks @Jiabao-Sun again for your hard work, LGTM now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @RocMarshal , would you mind helping reveiw this PR in your free time? thanks~
It's not urgent!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution
I compared number of tests in maven build for this module before and after
Before
nonIT tests run: 7397, 73 skipped
IT tests run: 350
After (i rebased locally to the latest master )
nonITtests run: 7432, 73 skipped
IT tests run: 350
If we are talking only about migration then I would expect same number of tests before and after and same test set
...k-runtime/src/test/java/org/apache/flink/runtime/io/disk/BatchShuffleReadBufferPoolTest.java
Outdated
Show resolved
Hide resolved
c8a8367
to
af05770
Compare
Thanks @snuyanzin for the review. |
af05770
to
044612d
Compare
044612d
to
cedd4e1
Compare
Test count verified of |
cedd4e1
to
3f6f9ce
Compare
3f6f9ce
to
84036ae
Compare
Hi @JingGe, could you help review this PR when you have time? |
This PR is too huge to review. |
SGTM +1. |
[FLINK-32850][flink-runtime][JUnit5 Migration] Module: The io package of flink-runtime
What is the purpose of the change
[flink-runtime][JUnit5 Migration] Module: The io package of flink-runtime
Brief change log
[flink-runtime][JUnit5 Migration] Module: The io package of flink-runtime
Verifying this change
This change is already covered by existing tests
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation