Skip to content

Commit d6455f2

Browse files
committed
Disable Live Test because server bits not ready.
1 parent 1b39d86 commit d6455f2

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

sdk/communication/azure-communication-callingserver/tests/test_live_call_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def setUp(self):
6464
http_logging_policy=get_http_logging_policy()
6565
)
6666

67-
@pytest.mark.skipif(CONST.SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS, reason=CONST.CALLINGSERVER_INTERACTION_LIVE_TESTS_SKIP_REASON)
67+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
6868
def test_create_play_cancel_hangup_scenario(self):
6969
# create call option
7070
options = CreateCallOptions(
@@ -112,7 +112,7 @@ def test_create_play_cancel_hangup_scenario(self):
112112
CallingServerLiveTestUtils.sleep_if_in_live_mode()
113113
call_connection.hang_up()
114114

115-
@pytest.mark.skipif(CONST.SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS, reason=CONST.CALLINGSERVER_INTERACTION_LIVE_TESTS_SKIP_REASON)
115+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
116116
def test_create_add_remove_hangup_scenario(self):
117117
# create option
118118
options = CreateCallOptions(

sdk/communication/azure-communication-callingserver/tests/test_live_call_connection_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def setUp(self):
6464
http_logging_policy=get_http_logging_policy()
6565
)
6666

67-
@pytest.mark.skipif(CONST.SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS, reason=CONST.CALLINGSERVER_INTERACTION_LIVE_TESTS_SKIP_REASON)
67+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
6868
@AsyncCommunicationTestCase.await_prepared_test
6969
async def test_create_play_cancel_hangup_scenario_async(self):
7070
# create call option
@@ -114,7 +114,7 @@ async def test_create_play_cancel_hangup_scenario_async(self):
114114
CallingServerLiveTestUtils.sleep_if_in_live_mode()
115115
await call_connection_async.hang_up()
116116

117-
@pytest.mark.skipif(CONST.SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS, reason=CONST.CALLINGSERVER_INTERACTION_LIVE_TESTS_SKIP_REASON)
117+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
118118
@AsyncCommunicationTestCase.await_prepared_test
119119
async def test_create_add_remove_hangup_scenario_async(self):
120120
# create call option

sdk/communication/azure-communication-callingserver/tests/test_live_server_call.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# license information.
55
# --------------------------------------------------------------------------
66
import os, uuid
7+
import pytest
78
import utils._test_constants as CONST
89
from azure.communication.callingserver import CallingServerClient
910
from azure.communication.callingserver import (
@@ -57,6 +58,7 @@ def setUp(self):
5758
http_logging_policy=get_http_logging_policy()
5859
)
5960

61+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
6062
def test_join_play_cancel_hangup_scenario(self):
6163
# create GroupCalls
6264
group_id = CallingServerLiveTestUtils.get_group_id("test_join_play_cancel_hangup_scenario")
@@ -95,6 +97,7 @@ def test_join_play_cancel_hangup_scenario(self):
9597
CallingServerLiveTestUtils.sleep_if_in_live_mode()
9698
CallingServerLiveTestUtils.clean_up_connections(call_connections)
9799

100+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
98101
def test_create_add_remove_hangup_scenario(self):
99102
# create GroupCalls
100103
group_id = CallingServerLiveTestUtils.get_group_id("test_create_add_remove_hangup_scenario")

sdk/communication/azure-communication-callingserver/tests/test_live_server_call_async.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# license information.
55
# --------------------------------------------------------------------------
66
import os, uuid
7+
import pytest
78
import utils._test_constants as CONST
89
from azure.communication.callingserver.aio import CallingServerClient
910
from azure.communication.callingserver import (
@@ -57,6 +58,7 @@ def setUp(self):
5758
http_logging_policy=get_http_logging_policy()
5859
)
5960

61+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
6062
@AsyncCommunicationTestCase.await_prepared_test
6163
async def test_join_play_cancel_hangup_scenario_async(self):
6264
async with self.callingserver_client:
@@ -99,6 +101,7 @@ async def test_join_play_cancel_hangup_scenario_async(self):
99101
await CallingServerLiveTestUtilsAsync.clean_up_connections_async(call_connections)
100102

101103

104+
@pytest.mark.skip(reason="Skip because the server side bits not ready")
102105
@AsyncCommunicationTestCase.await_prepared_test
103106
async def test_create_add_remove_hangup_scenario_async(self):
104107
async with self.callingserver_client:

0 commit comments

Comments
 (0)