GitHub user NicoK opened a pull request: https://github.com/apache/flink/pull/5251
[FLINK-8208][network-tests] Reduce mockito usage in RecordWriterTest ## What is the purpose of the change Reduce mockito usage in `RecordWriterTest`. This PR is based on #5250. Please note: this is @pnowojski's commit taken out of #5105 which I have reviewed separately, so from my side, we're good to go. ## Brief change log - reduce mockito usage in `RecordWriterTest` ## Verifying this change This change is already covered by existing tests, since a test (tool) itself is changed. ## 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, Yarn/Mesos, 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** You can merge this pull request into a Git repository by running: $ git pull https://github.com/NicoK/flink flink-8208 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/5251.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5251 ---- commit 82e3fa72af108c92a179ea441bf67e8b2e494d23 Author: Zhijiang <wangzhijiang999@...> Date: 2017-08-10T05:29:13Z [FLINK-7406][network] Implement Netty receiver incoming pipeline for credit-based commit 7c364f84df0969cc135c5a9835681c9d2d8e678a Author: Zhijiang <wangzhijiang999@...> Date: 2017-09-28T15:39:26Z [FLINK-7416][network] Implement Netty receiver outgoing pipeline for credit-based commit cfe85ced9a4c5bbc342e527d8b59e17ecf1cdad6 Author: Piotr Nowojski <piotr.nowojski@...> Date: 2017-12-18T14:26:20Z [hotfix][network] Drop redundant this reference usages commit 1c015dd3eebe7171606fa1d90045733eac2c6b75 Author: Piotr Nowojski <piotr.nowojski@...> Date: 2017-12-01T10:14:06Z [FLINK-8208][network-tests] Reduce mockito usage in RecordWriterTest commit 8101dc8f422a815bead8cedf92bd6a361d27ec44 Author: Piotr Nowojski <piotr.nowojski@...> Date: 2017-12-04T14:08:12Z [hotfix][network-tests] Simplify TestPooledBufferProvider commit dc5427696476d898da6ece19c7e05f6063ed98ae Author: Piotr Nowojski <piotr.nowojski@...> Date: 2017-12-04T14:13:57Z [FLINK-8207][network-tests] Unify TestInfiniteBufferProvider and TestPooledBufferProvider ---- ---