From 4aa6755cdd5eebba8c12fbd98c0a874ac082d59d Mon Sep 17 00:00:00 2001 From: Yunhao Ling Date: Thu, 11 Jun 2020 20:00:51 -0700 Subject: [PATCH 1/2] enable async unittest --- .../azure-servicebus/tests/async_tests/test_queues_async.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py index 60a7d75f477c..1456dbd747f8 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py @@ -1103,6 +1103,8 @@ async def test_queue_message_settle_through_mgmt_link_due_to_broken_receiver_lin assert len(messages) == 1 await messages[0].complete() + @pytest.mark.liveTest + @pytest.mark.asyncio async def test_async_queue_mock_no_reusing_auto_lock_renew(self): class MockReceivedMessage: def __init__(self): From 3c36b5bcd11454cac192308a7d5ea7ba4622755d Mon Sep 17 00:00:00 2001 From: Yunhao Ling Date: Wed, 17 Jun 2020 13:53:15 -0700 Subject: [PATCH 2/2] remove unnecessary annotation --- .../azure-servicebus/tests/async_tests/test_queues_async.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py index 1456dbd747f8..90e27a482d7b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py @@ -1103,7 +1103,6 @@ async def test_queue_message_settle_through_mgmt_link_due_to_broken_receiver_lin assert len(messages) == 1 await messages[0].complete() - @pytest.mark.liveTest @pytest.mark.asyncio async def test_async_queue_mock_no_reusing_auto_lock_renew(self): class MockReceivedMessage: