Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- blocks
-
REEF-313 Use Visual Studio 2015 for REEF.NET development
- Resolved