[
https://issues.apache.org/jira/browse/BEAM-10766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Hulette updated BEAM-10766:
---------------------------------
Status: Resolved (was: Open)
> NativeTypeCompatibilityTest.test_convert_to_beam_types flake
> ------------------------------------------------------------
>
> Key: BEAM-10766
> URL: https://issues.apache.org/jira/browse/BEAM-10766
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Kyle Weaver
> Assignee: Brian Hulette
> Priority: P1
> Labels: flake, flaky-test
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> [https://ci-beam.apache.org/job/beam_PreCommit_Python_cron/3125/]
> [https://ci-beam.apache.org/job/beam_PreCommit_Python_commit/14680/]
> self =
> <apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest
> testMethod=test_convert_to_beam_types>
> def test_convert_to_beam_types(self):
> typing_types = [
> bytes,
> typing.List[bytes],
> typing.List[typing.Tuple[bytes, int]],
> typing.Union[int, typing.List[int]]
> ]
> beam_types = [
> bytes,
> typehints.List[bytes],
> typehints.List[typehints.Tuple[bytes, int]],
> typehints.Union[int, typehints.List[int]]
> ]
> converted_beam_types = convert_to_beam_types(typing_types)
> > self.assertEqual(converted_beam_types, beam_types)
> E AssertionError: Lists differ: [<type 'str'>, List[Any], List... != [<type
> 'str'>, List[str], List...
> E
> E First differing element 1:
> E List[Any]
> E List[str]
> E
> E - [<type 'str'>, List[Any], List[Tuple[str, int]], Union[List[int], int]]
> E ? ^^^
> E
> E + [<type 'str'>, List[str], List[Tuple[str, int]], Union[List[int], int]]
> E ? ^^^
> apache_beam/typehints/native_type_compatibility_test.py:214: AssertionError
--
This message was sent by Atlassian Jira
(v8.3.4#803005)