Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/3741
Thanks for contributing this, the added functionality looks good.
I would prefer to add this change without changing the dependencies and
test base classes. You could for example change the test to throw an exception
in the "validator function" if the word is not in the cache file. That way you
do not need to "collect back" the data.
Minor comment: Generating the input from a collection rather than a file
makes the tests usually a bit more lightweight. In all newer tests, we try to
do that.
---
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.
---