Github user StephanEwen commented on the issue:
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 infrastruct...@apache.org or file a JIRA ticket