-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
arch-s390xRelated to s390x architecture (unsupported)Related to s390x architecture (unsupported)area-System.Buffersbug
Milestone
Description
The tests added in #102364 fail on s390x.
Looking at a specific test failure suggest it is an endianness issue:
System.Buffers.Text.Tests.Base64UrlEncoderUnitTests.TryEncodeToUtf8EncodeUpToDestinationSize(numBytes: 1, expectedText: \"AQ\")
Xunit.Sdk.EqualException: Assert.Equal() Failure: Strings differ\n ↓ (pos 0)\nExpected: \"AQ\"\nActual: \"QA\"\n ↑ (pos 0)
at System.Buffers.Text.Tests.Base64UrlEncoderUnitTests.TryEncodeToUtf8EncodeUpToDestinationSize(Int32 numBytes, String expectedText) in /home/tester/runtime/src/libraries/System.Memory/tests/Base64Url/Base64UrlEncoderUnitTests.cs:line 331
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /home/tester/runtime/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs:line 22
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) in /home/tester/runtime/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 178
Metadata
Metadata
Assignees
Labels
arch-s390xRelated to s390x architecture (unsupported)Related to s390x architecture (unsupported)area-System.Buffersbug