Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1079

Fix TestNamedParameterWithAliasRoundTrip test failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.14
    • None
    • None

    Description

      The method ProtocolBufferClassHierarchy.SerializeNode iterates over all children of a node, serializing them one by one.

      foreach (INode child in n.GetChildren())
      {
          children.Add(SerializeNode(child));
      }
      

      If the list of children is changed in a different thread, this code will throw System.InvalidOperationException : Collection was modified after the enumerator was instantiated.. We observe this in TestNamedParameterWithAliasRoundTrip test which passes when executed individually but fails when executed in parallel with other tests which don't do serialization, just use default ClassHierarchy.

      We need to fix the failures of this test.

      Attachments

        Issue Links

          Activity

            People

              MariiaMykhailova Mariia Mykhailova
              MariiaMykhailova Mariia Mykhailova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: