Skip to content

Various BenchmarksGame tests failing due to inability to resolve a manifest resource stream #118475

Description

@tannergooding

Various tests under JIT/Performance/CodeQuality/BenchmarksGame including k-nucleotide-9, k-nucleotide-1, reverse-complement-1, regex-reduce-1, and regex-redux-5 are failing as the manifest resource stream is returning null.

For example, regex-reduce-5 uses the following and the result of GetInputStream is null:

classTestHarnessHelpers{publicreadonlyintExpectedLength;privatereadonlystringresourceName;publicTestHarnessHelpers(boolbigInput,[System.Runtime.CompilerServices.CallerFilePath]stringcsFileName=""){if(bigInput){ExpectedLength=136381;resourceName=$"{Path.GetFileNameWithoutExtension(csFileName)}.regexdna-input25000.txt";}else{ExpectedLength=152;resourceName=$"{Path.GetFileNameWithoutExtension(csFileName)}.regexdna-input25.txt";}}publicStreamGetInputStream(){varassembly=typeof(TestHarnessHelpers).GetTypeInfo().Assembly;returnassembly.GetManifestResourceStream(resourceName);}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions