GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/1160

    [FLINK-2479] Refactor runtime.operators.* tests

    This PR refactors most runtime.operators tests to use the TupleGenerator 
introduced in FLINK-2105.
    
    The changes made can generally be summed up as replacing usages of Records 
with Tuple2<Integer, String> and adjusting serializers/comparators accordingly. 
I've added a few static helper methods to the TestData class to simplify 
comparator/serializer(factory) creation.
    
    One oddball change is the introduction of a separate IntPairComparator 
whose hash() implementation uses the underlying IntComparators hash() method, 
to be in line with the TupleComparators implementation.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 2479_testdata_pr

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1160.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 #1160
    
----
commit d090d36117694d76850ad2b8cb05b19f57beb3c6
Author: zentol <[email protected]>
Date:   2015-09-20T17:10:26Z

    [FLINK-2479] Refactor runtime.operators.* tests

----


---
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.
---

Reply via email to