Skip to content

Wrapping up interceptors, fixing typos, removing Moq #527

Wrapping up interceptors, fixing typos, removing Moq

Wrapping up interceptors, fixing typos, removing Moq #527

GitHub Actions / Test Results failed Apr 2, 2024 in 0s

17 fail, 414 pass in 1m 33s

   18 files     18 suites   1m 33s ⏱️
  431 tests   414 ✅ 0 💤 17 ❌
1 514 runs  1 497 ✅ 0 💤 17 ❌

Results for commit 7d8f957.

Annotations

Check warning on line 0 in RestSharp.Tests.Integrated.RequestHeadTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Does_Not_Pass_Default_Credentials_When_Server_Does_Not_Negotiate (RestSharp.Tests.Integrated.RequestHeadTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Assert.NotNull() Failure: Value is null   at RestSharp.Tests.Integrated.RequestHeadTests.Does_Not_Pass_Default_Credentials_When_Server_Does_Not_Negotiate() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/RequestHeadTests.cs:line 18
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.JsonBodyTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Add_JSON_body_JSON_string (RestSharp.Tests.Integrated.JsonBodyTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected RequestBodyCapturer.CapturedContentType to be "application/json; charset=utf-8" with a length of 31, but "text/plain; charset=utf-8" has a length of 25, differs near "tex" (index 0).   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.JsonBodyTests.Add_JSON_body_JSON_string() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/JsonBodyTests.cs:line 33
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.RequestBodyTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Can_Be_Added_To_PUT_Request_NoCharset (RestSharp.Tests.Integrated.RequestBodyTests)

test-results/net6.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected RequestBodyCapturer.CapturedContentType to be "text/plain" with a length of 10, but "application/json; charset=utf-8" has a length of 31, differs near "app" (index 0).   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.RequestBodyTests.AssertHasRequestBody(String contentType, String bodyData) in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/RequestBodyTests.cs:line 104
   at RestSharp.Tests.Integrated.RequestBodyTests.AssertBody(Method method, Boolean disableCharset) in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/RequestBodyTests.cs:line 27
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.MultipartFormDataTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: MultipartFormData (RestSharp.Tests.Integrated.MultipartFormDataTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.Content to be "--b2deeb62-2751-4d89-a9d6-6d1d1387af32
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name=foo

bar
--b2deeb62-2751-4d89-a9d6-6d1d1387af32
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name="a name with spaces"

somedata
--b2deeb62-2751-4d89-a9d6-6d1d1387af32--
", but found <null>.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringValidator.ValidateAgainstNulls()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.MultipartFormDataTests.MultipartFormData() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/MultipartFormDataTests.cs:line 109
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.MultipartFormDataTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: MultipartFormData_WithParameterAndFile_Async (RestSharp.Tests.Integrated.MultipartFormDataTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.Content to be "--2e05715a-d493-400d-8904-eaa8d9509f0d
Content-Type: application/octet-stream
Content-Disposition: form-data; name="fileName"; filename="TestFile.txt"

This is a test file for RestSharp.
--2e05715a-d493-400d-8904-eaa8d9509f0d
Content-Type: application/json; charset=utf-8
Content-Disposition: form-data; name=controlName

test
--2e05715a-d493-400d-8904-eaa8d9509f0d--
", but found <null>.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringValidator.ValidateAgainstNulls()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.MultipartFormDataTests.MultipartFormData_WithParameterAndFile_Async() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/MultipartFormDataTests.cs:line 173
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.MultipartFormDataTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: MultipartFormData_WithCustomContentType (RestSharp.Tests.Integrated.MultipartFormDataTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.Content to be "--38ba00e0-0168-4ce8-b245-38d60d613ceb
Content-Type: application/octet-stream
Content-Disposition: form-data; name="fileName"; filename="TestFile.txt"

This is a test file for RestSharp.
--38ba00e0-0168-4ce8-b245-38d60d613ceb
Content-Type: application/json; charset=utf-8
Content-Disposition: form-data; name=controlName

test
--38ba00e0-0168-4ce8-b245-38d60d613ceb--
", but found <null>.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringValidator.ValidateAgainstNulls()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.MultipartFormDataTests.MultipartFormData_WithCustomContentType() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/MultipartFormDataTests.cs:line 153
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.StatusCodeTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Handles_Different_Root_Element_On_Http_Error (RestSharp.Tests.Integrated.StatusCodeTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.StatusCode to be HttpStatusCode.BadRequest {value: 400}, but found HttpStatusCode.0 {value: 0}.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.StatusCodeTests.Handles_Different_Root_Element_On_Http_Error() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/StatusCodeTests.cs:line 83
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.MultipartFormDataTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: MultipartFormData_NoBoundaryQuotes (RestSharp.Tests.Integrated.MultipartFormDataTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.Content to be "--07f68ef7-e10a-47d5-bc9b-82e8e2f586cb
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name=foo

bar
--07f68ef7-e10a-47d5-bc9b-82e8e2f586cb
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name="a name with spaces"

somedata
--07f68ef7-e10a-47d5-bc9b-82e8e2f586cb--
", but found <null>.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringValidator.ValidateAgainstNulls()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.MultipartFormDataTests.MultipartFormData_NoBoundaryQuotes() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/MultipartFormDataTests.cs:line 92
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.StatusCodeTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Handles_Default_Root_Element_On_No_Error (RestSharp.Tests.Integrated.StatusCodeTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.StatusCode to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.0 {value: 0}.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.StatusCodeTests.Handles_Default_Root_Element_On_No_Error() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/StatusCodeTests.cs:line 62
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.StatusCodeTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: ContentType_Additional_Information (RestSharp.Tests.Integrated.StatusCodeTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.StatusCode to be HttpStatusCode.OK {value: 200}, but found HttpStatusCode.0 {value: 0}.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.StatusCodeTests.ContentType_Additional_Information() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/StatusCodeTests.cs:line 40
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.MultipartFormDataTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: MultipartFormDataAsync (RestSharp.Tests.Integrated.MultipartFormDataTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.Content to be "--59530276-edaf-469d-bca3-e67ef8162ba5
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name=foo

bar
--59530276-edaf-469d-bca3-e67ef8162ba5
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name="a name with spaces"

somedata
--59530276-edaf-469d-bca3-e67ef8162ba5--
", but found <null>.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringValidator.ValidateAgainstNulls()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.MultipartFormDataTests.MultipartFormDataAsync() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/MultipartFormDataTests.cs:line 187
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.StatusCodeTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Handles_GET_Request_404_Error (RestSharp.Tests.Integrated.StatusCodeTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.StatusCode to be HttpStatusCode.NotFound {value: 404}, but found HttpStatusCode.0 {value: 0}.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.EnumAssertions`2.Be(TEnum expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.StatusCodeTests.Handles_GET_Request_404_Error() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/StatusCodeTests.cs:line 92
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.MultipartFormDataTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: MultipartFormData_HasDefaultContentType (RestSharp.Tests.Integrated.MultipartFormDataTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.Content to be "--ffe58aa7-3bc2-48ef-a8e1-ec22a757ff14
Content-Type: application/octet-stream
Content-Disposition: form-data; name="fileName"; filename="TestFile.txt"

This is a test file for RestSharp.
--ffe58aa7-3bc2-48ef-a8e1-ec22a757ff14
Content-Type: application/json; charset=utf-8
Content-Disposition: form-data; name=controlName

test
--ffe58aa7-3bc2-48ef-a8e1-ec22a757ff14--
", but found <null>.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringValidator.ValidateAgainstNulls()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.MultipartFormDataTests.MultipartFormData_HasDefaultContentType() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/MultipartFormDataTests.cs:line 132
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.StatusCodeTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Reports_2xx_Status_Code_Success_Accurately (RestSharp.Tests.Integrated.StatusCodeTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Expected response.IsSuccessful to be true, but found False.   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at RestSharp.Tests.Integrated.StatusCodeTests.Reports_2xx_Status_Code_Success_Accurately() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/StatusCodeTests.cs:line 109
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.MultipartFormDataTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: AlwaysMultipartFormData_WithParameter_Execute (RestSharp.Tests.Integrated.MultipartFormDataTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Assert.Null() Failure: Value is not null
Expected: null
Actual:   System.Net.Http.HttpRequestException: Connection refused (localhost:1644)
 ---> System.Net.Sockets.SocketException (111): Connection refused
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at HttpTracer.HttpTracerHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at RestSharp.RestClient.ExecuteRequestAsync(RestRequest request, CancellationToken cancellationToken) in /home/runner/work/RestSharp/RestSharp/src/RestSharp/RestClient.Async.cs:line 139   at RestSharp.Tests.Integrated.MultipartFormDataTests.AlwaysMultipartFormData_WithParameter_Execute() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/MultipartFormDataTests.cs:line 78
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.RequestHeadTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Does_Not_Pass_Default_Credentials_When_UseDefaultCredentials_Is_False (RestSharp.Tests.Integrated.RequestHeadTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Assert.Equal() Failure: Values differ
Expected: Unauthorized
Actual:   0   at RestSharp.Tests.Integrated.RequestHeadTests.Does_Not_Pass_Default_Credentials_When_UseDefaultCredentials_Is_False() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/RequestHeadTests.cs:line 36
--- End of stack trace from previous location ---

Check warning on line 0 in RestSharp.Tests.Integrated.CompressionTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: Can_Handle_Gzip_Compressed_Content (RestSharp.Tests.Integrated.CompressionTests)

test-results/net7.0/RestSharp.Tests.Integrated.trx [took 0s]
Raw output
Assert.Equal() Failure: Strings differ
Expected: "This is some gzipped content"
Actual:   null   at RestSharp.Tests.Integrated.CompressionTests.Can_Handle_Gzip_Compressed_Content() in /home/runner/work/RestSharp/RestSharp/test/RestSharp.Tests.Integrated/CompressionTests.cs:line 46
--- End of stack trace from previous location ---