You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Omar Alvarez (JIRA)" <ji...@apache.org> on 2016/06/01 11:59:59 UTC
[jira] [Updated] (FLINK-4002) [py] Improve testing infraestructure
[ https://issues.apache.org/jira/browse/FLINK-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Omar Alvarez updated FLINK-4002:
--------------------------------
Description:
The Verify() test function errors out when array elements are missing:
{code}
env.generate_sequence(1, 5)\
.map(Id()).map_partition(Verify([1,2,3,4], "Sequence")).output()
{code}
{quote}
IndexError: list index out of range
{quote}
There should also be more documentation in test functions.
I am already working on a pull request to fix this.
was:
The Verify() test function errors out when array elements are missing:
{code:python}
env.generate_sequence(1, 5)\
.map(Id()).map_partition(Verify([1,2,3,4], "Sequence")).output()
{code}
{quote}
IndexError: list index out of range
{quote}
There should also be more documentation in test functions.
> [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
> Labels: Python, Testing
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> The Verify() test function errors out when array elements are missing:
> {code}
> env.generate_sequence(1, 5)\
> .map(Id()).map_partition(Verify([1,2,3,4], "Sequence")).output()
> {code}
> {quote}
> IndexError: list index out of range
> {quote}
> There should also be more documentation in test functions.
> I am already working on a pull request to fix this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)