Fix the issue where IaasComputeVmProtectedItem cannot handle an empty resourceId #47626
Azure Pipelines / net - resourcemanager - mgmt - ci
succeeded
Dec 20, 2024 in 9m 37s
Build #20241219.17 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 90,355 (97.03%)
- Other: 2,768 (2.97%)
- Total: 93,124
- 9438 of 34874 lines covered (27.06%)
Annotations
azure-pipelines / net - resourcemanager - mgmt - ci
Azure.Core.Tests.HttpClientTransportFunctionalTest(False).StreamReadingExceptionsAreIOExceptions
Expected: <System.IO.IOException>
But was: <System.Net.Http.HttpIOException: The response ended prematurely. (ResponseEnded)
at System.Net.Http.HttpConnection.FillAsync(Boolean async)
at System.Net.Http.HttpConnection.CopyToContentLengthAsync(Stream destination, Boolean async, UInt64 length, Int32 bufferSize, CancellationToken cancellationToken)
at System.Net.Http.HttpConnection.ContentLengthReadStream.CompleteCopyToAsync(Task copyTask, CancellationToken cancellationToken)
at Azure.Core.Tests.TransportFunctionalTests.<>c__DisplayClass47_1.<<StreamReadingExceptionsAreIOExceptions>b__1>d.MoveNext() in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/TransportFunctionalTests.cs:line 1001
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Raw output
at Azure.Core.Tests.TransportFunctionalTests.StreamReadingExceptionsAreIOExceptions() in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/TransportFunctionalTests.cs:line 1001
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
1) at Azure.Core.Tests.TransportFunctionalTests.StreamReadingExceptionsAreIOExceptions() in /mnt/vss/_work/1/s/sdk/core/Azure.Core/tests/TransportFunctionalTests.cs:line 1001
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Azure.Core.Tests.TransportFunctionalTests.StreamReadingExceptionsAreIOExceptions()
Loading