Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15056

Python test: ExecutionEnvironmentCompletenessTests.test_completeness failed

    XMLWordPrintableJSON

    Details

      Description

      This build failed https://travis-ci.org/apache/flink/builds/620110967 with an error from the python tests:

       

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

       

      Since no commit after this one mentioned python, I assume this is a test instability?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkl0u Kostas Kloudas
                Reporter:
                rmetzger Robert Metzger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: