You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kostas Kloudas (Jira)" <ji...@apache.org> on 2019/12/04 19:21:00 UTC

[jira] [Closed] (FLINK-15056) Python test: ExecutionEnvironmentCompletenessTests.test_completeness failed

     [ https://issues.apache.org/jira/browse/FLINK-15056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kostas Kloudas closed FLINK-15056.
----------------------------------
    Fix Version/s: 1.10.0
         Assignee: Kostas Kloudas
       Resolution: Duplicate

Has been fixed with https://issues.apache.org/jira/browse/FLINK-15042

> Python test: ExecutionEnvironmentCompletenessTests.test_completeness failed
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-15056
>                 URL: https://issues.apache.org/jira/browse/FLINK-15056
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python, Tests
>            Reporter: Robert Metzger
>            Assignee: Kostas Kloudas
>            Priority: Major
>              Labels: test-stability
>             Fix For: 1.10.0
>
>
> This build failed [https://travis-ci.org/apache/flink/builds/620110967] with an error from the python tests:
>  
> {code:java}
> =================================== FAILURES ===================================
> ___________ ExecutionEnvironmentCompletenessTests.test_completeness ____________
> self = <pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests testMethod=test_completeness>
>     def test_completeness(self):
> >       self.check_methods()
> pyflink/testing/test_case_utils.py:249: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> cls = <class 'pyflink.dataset.tests.test_execution_environment_completeness.ExecutionEnvironmentCompletenessTests'>
>     @classmethod
>     def check_methods(cls):
>         java_primary_methods = {'getClass', 'notifyAll', 'equals', 'hashCode', 'toString',
>                                 'notify', 'wait'}
>         java_methods = PythonAPICompletenessTestCase.get_java_class_methods(cls.java_class())
>         python_methods = cls.get_python_class_methods(cls.python_class())
>         missing_methods = java_methods - python_methods - cls.excluded_methods() \
>             - java_primary_methods
>         if len(missing_methods) > 0:
>             raise Exception('Methods: %s in Java class %s have not been added in Python class %s.'
> >                           % (missing_methods, cls.java_class(), cls.python_class()))
> E           Exception: Methods: {'executeAsync'} in Java class org.apache.flink.api.java.ExecutionEnvironment have not been added in Python class <class 'pyflink.dataset.execution_environment.ExecutionEnvironment'>.
> {code}
>  
> Since no commit after this one mentioned python, I assume this is a test instability?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)