Move management connection configuration/string validation to management client #2343
Annotations
20 errors
CreatePolicy_With_DeliveryLimit_Should_Be_Applied_To_Quorum_Queues(-1):
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L150
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
CreatePolicy_With_DeliveryLimit_Should_Be_Applied_To_Quorum_Queues(200):
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L150
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
GetFeatureFlags_Should_Return_FeatureFlag_Information:
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L116
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
GetOverview_Should_Return_Broker_Information:
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L98
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
GetQueue_Should_Return_Queue_Information_When_Exists:
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L83
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost1;VirtualHost=/;Port=5672;UserName=guest;Password=guest;UseTls=False":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost2;VirtualHost=/;Port=5671;UserName=guest;Password=guest;UseTls=True":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost3;VirtualHost=/;Port=12345;UserName=guest;Password=guest;UseTls=False":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost4;VirtualHost=/;Port=5672;UserName=fakeUser;Password=fakePassword;UseTls=True":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost5;VirtualHost=/;Port=5672;UseTls=True":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
CreatePolicy_With_DeliveryLimit_Should_Be_Applied_To_Quorum_Queues(-1):
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L150
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
CreatePolicy_With_DeliveryLimit_Should_Be_Applied_To_Quorum_Queues(200):
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L150
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
GetFeatureFlags_Should_Return_FeatureFlag_Information:
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L116
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
GetOverview_Should_Return_Broker_Information:
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L98
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
GetQueue_Should_Return_Queue_Information_When_Exists:
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L83
System.Net.Http.HttpRequestException : An error occurred while sending the request.
----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost1;VirtualHost=/;Port=5672;UserName=guest;Password=guest;UseTls=False":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost2;VirtualHost=/;Port=5671;UserName=guest;Password=guest;UseTls=True":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost3;VirtualHost=/;Port=12345;UserName=guest;Password=guest;UseTls=False":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost4;VirtualHost=/;Port=5672;UserName=fakeUser;Password=fakePassword;UseTls=True":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations("Host=wronghost5;VirtualHost=/;Port=5672;UseTls=True":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L64
Assert.That(caughtException, expression)
Expected: <System.InvalidOperationException>
But was: <System.Net.Http.HttpRequestException: The management connection configuration could not be validated with the supplied connection string or the default values.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateConnectionConfiguration(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 66
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateConnectionConfiguration_Should_Set_Default_Port_And_Authorization_Configurations>b__0>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 64
--- 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[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
NuGet packages
|
1.62 MB |
|