File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1616using RabbitMQ . AMQP . Client ;
1717using RabbitMQ . AMQP . Client . Impl ;
1818using Xunit ;
19+ using Xunit . Abstractions ;
1920using IConnection = RabbitMQ . AMQP . Client . IConnection ;
2021
2122namespace Tests
2223{
23- public class OAuth2Tests
24+ public class OAuth2Tests ( ITestOutputHelper testOutputHelper ) : IntegrationTest ( testOutputHelper , setupConnectionAndManagement : false )
2425 {
2526 private const string Base64Key = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGH" ;
2627
@@ -29,6 +30,7 @@ public class OAuth2Tests
2930 [ SkippableFact ]
3031 public async Task ConnectToRabbitMqWithOAuth2TokenShouldSuccess ( )
3132 {
33+ Skip . IfNot ( IsCluster ) ;
3234 IConnection connection = await AmqpConnection . CreateAsync (
3335 ConnectionSettingsBuilder . Create ( )
3436 . Host ( "localhost" )
@@ -43,6 +45,7 @@ public async Task ConnectToRabbitMqWithOAuth2TokenShouldSuccess()
4345 [ SkippableFact ]
4446 public async Task ConnectToRabbitMqWithOAuth2TokenShouldDisconnectAfterTimeout ( )
4547 {
48+ Skip . IfNot ( IsCluster ) ;
4649 IConnection connection = await AmqpConnection . CreateAsync (
4750 ConnectionSettingsBuilder . Create ( )
4851 . Host ( "localhost" )
You can’t perform that action at this time.
0 commit comments