Skip to content

Commit 3f607bd

Browse files
authored
Disable failing BinaryFormatter tests on ppc64le (#105022)
#105020
1 parent 8a7e38e commit 3f607bd

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Common/BasicObjectTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public abstract class BasicObjectTests<T> : SerializationTest<T> where T : ISeri
1414

1515
[Theory]
1616
[MemberData(nameof(SerializableObjects))]
17+
[ActiveIssue("https://github.com/dotnet/runtime/issues/105020", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsPpc64leProcess))]
1718
public void DeserializeStoredObjects(object value, TypeSerializableValue[] serializedData)
1819
{
1920
// Following call may change the contents of the fields by invoking lazy-evaluated properties.

src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public partial class BinaryFormatterTests
2020
{
2121
[Theory]
2222
[MemberData(nameof(SerializableObjects_MemberData))]
23+
[ActiveIssue("https://github.com/dotnet/runtime/issues/105020", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsPpc64leProcess))]
2324
public void ValidateAgainstBlobs(object obj, TypeSerializableValue[] blobs)
2425
=> ValidateAndRoundtrip(obj, blobs, isEqualityComparer: false);
2526

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void ValidateBasicObjectsRoundtrip(object obj, FormatterAssemblyStyle ass
6767

6868
[Theory]
6969
[SkipOnCoreClr("Takes too long on Checked", ~RuntimeConfiguration.Release)]
70-
[ActiveIssue("https://github.com/mono/mono/issues/15115", TestRuntimes.Mono)]
70+
[ActiveIssue("https://github.com/dotnet/runtime/issues/105020", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsPpc64leProcess))]
7171
[MemberData(nameof(SerializableObjects_MemberData))]
7272
public void ValidateAgainstBlobs(object obj, TypeSerializableValue[] blobs)
7373
=> ValidateAndRoundtrip(obj, blobs, false);

0 commit comments

Comments
 (0)