Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6704 Fix tests failing while running with Java 11
  3. BEAM-6705

ConcurrentModificationException in ParDoSchemaTest

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: runner-direct
    • Labels:
      None

      Description

      When ran with Java 11, ParDoSchemaTest.testReadAndWriteMultiOutput,
      testReadAndWrite and testReadAndWriteWithSchemaRegistry

      produce ConcurrentModificationExceptions.

      This is due to change in HashMap.computeIfAbsent method specification:

      Throws:ConcurrentModificationException - if it is detected that the mapping function modified this map

      Full documentation here

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mwalenia Michal Walenia
                Reporter:
                mwalenia Michal Walenia
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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