Skip to content

Conversation

@a74nh
Copy link
Contributor

@a74nh a74nh commented Jun 14, 2022

The tests were using random generated chars. This would cause the Decode
functions to exit early (usually after a single iteration).

The tests were using random generated chars. This would cause the Decode
functions to exit early (usually after a single iteration).
@a74nh
Copy link
Contributor Author

a74nh commented Jun 14, 2022

Spotted this whilst implementing dotnet/runtime#70654 and dotnet/runtime#70336

@kunalspathak
Copy link
Contributor

cc: @danmoseley

Copy link
Contributor

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for doing this.

@danmoseley
Copy link
Member

@LoopedBard3 the centos runs are failing:


2022/06/20 00:02:53][INFO] System.TypeInitializationException: A type initializer threw an exception. To determine which type, inspect the InnerException's StackTrace property.
[2022/06/20 00:02:53][INFO]  ---> EETypeRva:0x031F34D0(System.Reflection.MissingRuntimeArtifactException): This object cannot be invoked because no code was generated for it: 'BenchmarkDotNet.Jobs.EnvironmentMode.PlatformCharacteristic'.
[2022/06/20 00:02:53][INFO]    at System.Reflection.Runtime.FieldInfos.RuntimeFieldInfo.get_FieldAccessor() + 0x11e

As this is not caused by this change, nor is this coverage critical for this change, I will merge

@danmoseley danmoseley merged commit 281bdef into dotnet:main Jun 20, 2022
@danmoseley
Copy link
Member

Thanks @a74nh

a74nh added a commit to a74nh/runtime that referenced this pull request Jun 20, 2022
InitializeDecodableBytes is skipping the last entry in the map,
due to assuming it is an = sign.

This was spotted whilst upstreaming:
dotnet/performance#2479
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants