flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Alvarez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4002) [py] Improve testing infraestructure
Date Wed, 01 Jun 2016 11:58:59 GMT
Omar Alvarez created FLINK-4002:

             Summary: [py] Improve testing infraestructure
                 Key: FLINK-4002
                 URL: https://issues.apache.org/jira/browse/FLINK-4002
             Project: Flink
          Issue Type: Bug
          Components: Python API
    Affects Versions: 1.0.3
            Reporter: Omar Alvarez
            Priority: Minor

The Verify() test function errors out when array elements are missing:

env.generate_sequence(1, 5)\
         .map(Id()).map_partition(Verify([1,2,3,4], "Sequence")).output()

IndexError: list index out of range

There should also be more documentation in test functions.

This message was sent by Atlassian JIRA

View raw message