Skip to content

Enhance StreamResponse handling and update dependencies #298

Enhance StreamResponse handling and update dependencies

Enhance StreamResponse handling and update dependencies #298

GitHub Actions / Test Results failed Oct 11, 2024 in 0s

92 tests run, 80 passed, 0 skipped, 12 failed.

Annotations

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseWithHttpStatusCodeDisableDirectStreaming

Expected memoryStream.IsDisposed to be true, but found False.
Raw output
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 Elastic.Transport.Tests.ResponseBuilderDisposeTests.AssertRegularResponse(Boolean disableDirectStreaming, Nullable`1 statusCode) in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 49
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.ResponseWithHttpStatusCodeDisableDirectStreaming() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 27
--- End of stack trace from previous location ---

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseBuilderWithNoHttpStatusCode

Expected stream.IsDisposed to be true, but found False.
Raw output
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 Elastic.Transport.Tests.ResponseBuilderDisposeTests.AssertRegularResponse(Boolean disableDirectStreaming, Nullable`1 statusCode) in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 51
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.ResponseBuilderWithNoHttpStatusCode() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 24
--- End of stack trace from previous location ---

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.StreamResponseBuilderWithNoHttpStatusCode

Expected stream.IsDisposed to be True, but found False.
Raw output
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.Be(Boolean expected, String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.AssertStreamResponse(Boolean disableDirectStreaming, Nullable`1 statusCode) in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 93
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.StreamResponseBuilderWithNoHttpStatusCode() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 70
--- End of stack trace from previous location ---

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.StreamResponseWithHttpStatusCode

Expected stream.IsDisposed to be True, but found False.
Raw output
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.Be(Boolean expected, String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.AssertStreamResponse(Boolean disableDirectStreaming, Nullable`1 statusCode) in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 93
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.StreamResponseWithHttpStatusCode() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 68
--- End of stack trace from previous location ---

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseWithHttpStatusCode

Expected stream.IsDisposed to be true, but found False.
Raw output
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 Elastic.Transport.Tests.ResponseBuilderDisposeTests.AssertRegularResponse(Boolean disableDirectStreaming, Nullable`1 statusCode) in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 51
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.ResponseWithHttpStatusCode() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 22
--- End of stack trace from previous location ---

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseBuilderWithNoHttpStatusCodeDisableDirectStreaming

Expected memoryStream.IsDisposed to be true, but found False.
Raw output
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 Elastic.Transport.Tests.ResponseBuilderDisposeTests.AssertRegularResponse(Boolean disableDirectStreaming, Nullable`1 statusCode) in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 49
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.ResponseBuilderWithNoHttpStatusCodeDisableDirectStreaming() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 30
--- End of stack trace from previous location ---

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseWithHttpStatusCodeDisableDirectStreaming

Expected stream.IsDisposed to be true, but found False.
Raw output
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<AssertRegularResponse>d__6.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 51
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<ResponseWithHttpStatusCodeDisableDirectStreaming>d__4.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 27
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseBuilderWithNoHttpStatusCode

Expected boolean to be true, but found False.
Raw output
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<AssertRegularResponse>d__6.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<ResponseBuilderWithNoHttpStatusCode>d__3.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.StreamResponseBuilderWithNoHttpStatusCode

Expected boolean to be True, but found False.
Raw output
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.BooleanAssertions`1.Be(Boolean expected, String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<AssertStreamResponse>d__11.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 95
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<StreamResponseBuilderWithNoHttpStatusCode>d__8.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 70
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.StreamResponseWithHttpStatusCode

Expected boolean to be True, but found False.
Raw output
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.BooleanAssertions`1.Be(Boolean expected, String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<AssertStreamResponse>d__11.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 95
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<StreamResponseWithHttpStatusCode>d__7.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 68
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseWithHttpStatusCode

Expected boolean to be true, but found False.
Raw output
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<AssertRegularResponse>d__6.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 54
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<ResponseWithHttpStatusCode>d__2.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 22
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResponseBuilderDisposeTests.ResponseBuilderWithNoHttpStatusCodeDisableDirectStreaming

Expected stream.IsDisposed to be true, but found False.
Raw output
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<AssertRegularResponse>d__6.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 51
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Elastic.Transport.Tests.ResponseBuilderDisposeTests.<ResponseBuilderWithNoHttpStatusCodeDisableDirectStreaming>d__5.MoveNext() in D:\a\elastic-transport-net\elastic-transport-net\tests\Elastic.Transport.Tests\ResponseBuilderDisposeTests.cs:line 30
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)