Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 66c71fb

Browse files
danmoseleyViktorHofer
authored andcommitted
Disabling binary serialization fuzzying test (#21185) (#21189)
1 parent 06e3267 commit 66c71fb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,11 @@ public void ObjectReference_RealObjectSerialized()
363363
Assert.Equal(42, real);
364364
}
365365

366-
[OuterLoop]
367-
[Theory]
368-
[MemberData(nameof(FuzzInputs_MemberData))]
366+
// Test is disabled becaues it can cause improbable memory allocations leading to interminable paging.
367+
// We're keeping the code because it could be useful to a dev making local changes to binary formatter code.
368+
//[OuterLoop]
369+
//[Theory]
370+
//[MemberData(nameof(FuzzInputs_MemberData))]
369371
public void Deserialize_FuzzInput(object obj, Random rand)
370372
{
371373
// Get the serialized data for the object

0 commit comments

Comments
 (0)