Disable azure-core-amqp.TestManagement.BasicTests on Mac (#6727)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2025-09-08 14:22:10 -07:00 committed by GitHub
parent f550fd038e
commit 848a98da8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,9 @@ namespace Azure { namespace Core { namespace Amqp { namespace Tests {
using namespace Azure::Core::Amqp::Models;
#if !defined(AZ_PLATFORM_MAC) || defined(ENABLE_RUST_AMQP)
#if !defined(AZ_PLATFORM_MAC)
#if ENABLE_RUST_AMQP
TEST_F(TestManagement, BasicTests)
{
{
@ -156,8 +158,7 @@ namespace Azure { namespace Core { namespace Amqp { namespace Tests {
CloseAmqpConnection(connection);
}
}
#if !defined(ENABLE_RUST_AMQP)
#else
// With Rust AMQP, this failure is triggered when the connection is opened, so we can't test it
// in the context of the management APIs.
TEST_F(TestManagement, ManagementOpenCloseNoListener)
@ -421,7 +422,7 @@ namespace Azure { namespace Core { namespace Amqp { namespace Tests {
#endif
}
#endif // !defined(AZ_PLATFORM_MAC)
#if !defined(AZ_PLATFORM_MAC) || defined(ENABLE_RUST_AMQP)
#if !defined(AZ_PLATFORM_MAC)
#if ENABLE_UAMQP
namespace {