Skip to content

Conversation

Jiabao-Sun
Copy link
Contributor

[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:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API, i.e., is any changed class annotated with @Public(Evolving): no
  • The serializers: no
  • The runtime per-record code paths (performance sensitive): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
  • The S3 file system connector: no

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

@flinkbot
Copy link
Collaborator

flinkbot commented Aug 13, 2023

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

Copy link
Member

@1996fanrui 1996fanrui left a 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) to isZero()
  • Update the isEqualTo(1) to isOne()
  • Check whether the fail with catch can be updated to assertThatThrownBy

@Jiabao-Sun
Copy link
Contributor Author

Thanks @Jiabao-Sun for the quick contribution!

Would you mind updating all change about these improvements?

  • Update the isEqualTo(0) to isZero()
  • Update the isEqualTo(1) to isOne()
  • Check whether the fail with catch can be updated to assertThatThrownBy

Thanks @1996fanrui for the review.
I'll make changes for that.

@Jiabao-Sun Jiabao-Sun requested a review from 1996fanrui August 14, 2023 07:02
@1996fanrui
Copy link
Member

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

@X-czh
Copy link
Contributor

X-czh commented Aug 17, 2023

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.

@Jiabao-Sun
Copy link
Contributor Author

Thanks @X-czh for the detailed review.
Most of the comments are resolved.
Please help review it again when you have time.

@Jiabao-Sun Jiabao-Sun requested review from X-czh and 1996fanrui August 20, 2023 06:32
@X-czh
Copy link
Contributor

X-czh commented Aug 21, 2023

Thanks @Jiabao-Sun again for your hard work, LGTM now

Copy link
Member

@1996fanrui 1996fanrui left a 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!

Copy link
Contributor

@snuyanzin snuyanzin left a 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

@Jiabao-Sun
Copy link
Contributor Author

Thanks @snuyanzin for the review.
Could you help review it again when you have time?

@Jiabao-Sun
Copy link
Contributor Author

Test count verified of org.apache.flink.runtime.io package:
master
passed: 1847, ignored: 5, total: 1852
updated:
passed: 1847, ignored: 5, total: 1852

@Jiabao-Sun
Copy link
Contributor Author

Hi @JingGe, could you help review this PR when you have time?
This PR is more difficult to review, and I can also split it into multiple. WDYT?

@Jiabao-Sun
Copy link
Contributor Author

This PR is too huge to review.
I will split it into multiple PRs.

@Jiabao-Sun Jiabao-Sun closed this Oct 25, 2023
@RocMarshal
Copy link
Contributor

This PR is too huge to review. I will split it into multiple PRs.

SGTM +1.
Looking forward to it~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants