[
https://issues.apache.org/jira/browse/FLINK-13939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz closed FLINK-13939.
------------------------------------
Resolution: Duplicate
> pyflink ExecutionConfigTests#test_equals_and_hash test failed
> -------------------------------------------------------------
>
> Key: FLINK-13939
> URL: https://issues.apache.org/jira/browse/FLINK-13939
> Project: Flink
> Issue Type: Test
> Components: API / Python, Tests
> Affects Versions: 1.9.0
> Reporter: vinoyang
> Priority: Major
>
>
> =================================== FAILURES
> ===================================
>
> 669__________________ ExecutionConfigTests.test_equals_and_hash
> ___________________
>
> 670
>
> 671self = <pyflink.common.tests.test_execution_config.ExecutionConfigTests
> testMethod=test_equals_and_hash>
>
> 672
>
> 673 def test_equals_and_hash(self):
>
> 674
>
> 675 config1 = ExecutionEnvironment.get_execution_environment().get_config()
>
> 676
>
> 677 config2 = ExecutionEnvironment.get_execution_environment().get_config()
>
> 678
>
> 679 self.assertEqual(config1, config2)
>
> 680
>
> 681> self.assertEqual(hash(config1), hash(config2))
>
> 682E AssertionError: 897378335 != 1596606912
>
> 683
>
> 684pyflink/common/tests/test_execution_config.py:277: AssertionError
>
> 685=============================== warnings summary
> ===============================
>
> 686.tox/py37/lib/python3.7/site-packages/py4j/java_collections.py:13
>
> 687.tox/py37/lib/python3.7/site-packages/py4j/java_collections.py:13
>
> 688.tox/py37/lib/python3.7/site-packages/py4j/java_collections.py:13
>
> 689.tox/py37/lib/python3.7/site-packages/py4j/java_collections.py:13
>
> 690.tox/py37/lib/python3.7/site-packages/py4j/java_collections.py:13
>
> 691
> /home/travis/build/flink-ci/flink/flink-python/.tox/py37/lib/python3.7/site-packages/py4j/java_collections.py:13:
> DeprecationWarning: Using or importing the ABCs from 'collections' instead
> of from 'collections.abc' is deprecated, and in 3.8 it will stop working
>
> 692 from collections import (
>
> 693
>
> 694-- Docs: https://docs.pytest.org/en/latest/warnings.html
>
> 695================== 1 failed, 373 passed, 5 warnings in 34.10s
> ==================
>
> 696ERROR: InvocationError for command
> /home/travis/build/flink-ci/flink/flink-python/.tox/py37/bin/pytest (exited
> with code 1)
> more details: https://api.travis-ci.com/v3/job/229979817/log.txt
--
This message was sent by Atlassian Jira
(v8.3.2#803003)