Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1251 Python 3 Support
  3. BEAM-6748

Block size difference in avro library on Python3 causes some AvroIO tests to fail.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      apache_beam.io.avroio_test.TestAvro.test_split_points
      apache_beam.io.avroio_test.TestFastAvro.test_split_points

      fail with:

       

      Traceback (most recent call last):
       File "/home/robbe/workspace/beam/sdks/python/apache_beam/io/avroio_test.py", line 308, in test_split_points
       self.assertEquals(split_points_report[-10:], [(2, 1)] * 10)
      AssertionError: Lists differ: [(10, 1), (10, 1), (10, 1), (10, 1), (10, 1[42 chars], 1)] != [(2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2[32 chars], 1)]
      First differing element 0:
      (10, 1)
      (2, 1)
      + [(2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1), (2, 1)]
      - [(10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1),
      - (10, 1)] 

        Attachments

          Activity

            People

            • Assignee:
              tvalentyn Valentyn Tymofieiev
              Reporter:
              tvalentyn Valentyn Tymofieiev

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m

                  Issue deployment