exposing DataServiceActionQuery<T>
properties for testing purposes
#2842
Azure Pipelines / OData-master-pipeline-Rolling
succeeded
Jan 24, 2024 in 34m 38s
Build #OData_OData-master-pipeline-Rolling_merge_20240123.4 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 124,817 (99.88%)
- Other: 150 (0.12%)
- Total: 124,968
- 531712 of 950640 blocks covered (55.93%)
- 383344 of 647507 lines covered (59.20%)
Annotations
azure-pipelines / OData-master-pipeline-Rolling
Microsoft.Data.WebClient.UnitTests.ClientRegressionTests.ShouldAcceptResponse204InAsync
Test method Microsoft.Data.WebClient.UnitTests.ClientRegressionTests.ShouldAcceptResponse204InAsync threw exception:
Microsoft.OData.Client.DataServiceTransportException: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:29247
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace --- ---> System.Net.WebException: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:29247
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
Raw output
at Microsoft.OData.Client.HttpClientRequestMessage.UnwrapAggregateException[T](Func`1 action) in D:\a\1\s\src\Microsoft.OData.Client\Serialization\HttpClientRequestMessage.cs:line 493
at Microsoft.OData.Client.HttpClientRequestMessage.EndGetResponse(IAsyncResult asyncResult) in D:\a\1\s\src\Microsoft.OData.Client\Serialization\HttpClientRequestMessage.cs:line 410
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.OData.Client.DataServiceClientFormat.LoadServiceModelFromNetwork() in D:\a\1\s\src\Microsoft.OData.Client\DataServiceClientFormat.cs:line 291
at Microsoft.OData.Client.DataServiceClientFormat.get_ServiceModel() in D:\a\1\s\src\Microsoft.OData.Client\DataServiceClientFormat.cs:line 92
at Microsoft.OData.Client.RequestInfo..ctor(DataServiceContext context) in D:\a\1\s\src\Microsoft.OData.Client\RequestInfo.cs:line 48
at Microsoft.OData.Client.DataServiceRequest.CreateExecuteResult(Object source, DataServiceContext context, AsyncCallback callback, Object state, String method) in D:\a\1\s\src\Microsoft.OData.Client\DataServiceRequest.cs:line 279
at Microsoft.OData.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents) in D:\a\1\s\src\Microsoft.OData.Client\DataServiceRequest.cs:line 184
at Microsoft.OData.Client.DataServiceContext.InnerSynchExecute[TElement](Uri requestUri, String httpMethod, Nullable`1 singleResult, OperationParameter[] operationParameters) in D:\a\1\s\src\Microsoft.OData.Client\DataServiceContext.cs:line 3287
at Microsoft.OData.Client.DataServiceContext.Execute[TElement](Uri requestUri) in D:\a\1\s\src\Microsoft.OData.Client\DataServiceContext.cs:line 2072
at Microsoft.Data.WebClient.UnitTests.ClientRegressionTests.ShouldAcceptResponse204InAsync() in D:\a\1\s\test\FunctionalTests\Tests\DataServices\UnitTests\ClientUnitTests\ClientRegressionTests.vb:line 301
Loading