Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/2646
Thanks for adding this test. I think it would be good to extend it to cases
where `write(byte[])` is called as well. I would also use some more "odd"
numbers for buffer size, so make sure there is no case where it works if the
"in mem threshold" is a multiple of the buffer size. For example, user `17` as
buffer size and `31` as memory-threshold.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---