Move management connection validation to management client and add BrokerVerifier tests #2360
Annotations
18 errors
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://localhost:15672":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://copa:abc123xyz@localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://copa:abc123xyz@localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://copa:abc123xyz@localhost:15672":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://guest:guest@localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://guest:guest@localhost:15672":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
Linux
Exit code = 1
|
Linux
Process completed with exit code 1.
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://localhost:15672":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://copa:abc123xyz@localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://copa:abc123xyz@localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://copa:abc123xyz@localhost:15672":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://guest:guest@localhost":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection("http://guest:guest@localhost:15672":
_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs#L56
Assert.That(code, new ThrowsNothingConstraint())
Expected: No Exception to be thrown
But was: <System.InvalidOperationException: Connection to the management API could not be established with the default or provided URL. Update the RabbitMQTransport.ManagementApiUrl with the correct HTTP connection string.
at NServiceBus.Transport.RabbitMQ.ManagementClient.ManagementClient.ValidateManagementConnection(CancellationToken cancellationToken) in /_/src/NServiceBus.Transport.RabbitMQ/Administration/ManagementClient/ManagementClient.cs:line 95
at NServiceBus.Transport.RabbitMQ.Tests.ManagementClientTests.<>c__DisplayClass12_0.<<ValidateManagementConnection_Should_Not_Throw_With_Default_Management_Api_Connection>b__1>d.MoveNext() in /_/src/NServiceBus.Transport.RabbitMQ.Tests/ManagementClientTests.cs:line 56
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
|
Windows
Exit code = 1
|
Windows
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
NuGet packages
Expired
|
1.62 MB |
|