Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail on mono/linux when using latest dotnet 7 sdk #234

Open
dnperfors opened this issue Aug 9, 2023 · 1 comment
Open

Tests fail on mono/linux when using latest dotnet 7 sdk #234

dnperfors opened this issue Aug 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dnperfors
Copy link
Member

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Code example that reproduces the behavior:

[Fact]
public void Issue()
{
...
}

Expected behavior
A clear and concise description of what you expected to happen.

Background (please complete the following information):

  • Version of library: [e.g. 0.10]
  • Version of .NET: [e.g. 7.0]

Additional context
Add any other context about the problem here.

@dnperfors dnperfors added the bug Something isn't working label Aug 9, 2023
@dnperfors
Copy link
Member Author

Sometimes the build fails for mono with the following exception:

Error Message:
   System.BadImageFormatException : Method has zero rva
  Stack Trace:
    at TestableHttpClient.Tests.HttpRequestMessagesCheckExtensionsTests.WithHeaderName.WithHeader_WithNumberOfRequests_NullOrEmptyHeaderName_ThrowsArgumentNullException (System.String headerName) [0x0001d] in <bbb5375ffda3455a80a3e0ca0871039f>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <d636f104d[58](https://github.com/testablehttpclient/TestableHttpClient/actions/runs/6274680107/job/17040530289#step:9:59)046fd9b195699bcb1a744>:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant