Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{CI} Skip some tests #30164

Draft
wants to merge 6 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only
from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only, live_only


class AcrAgentPoolCommandsTests(ScenarioTest):

@live_only()
@ResourceGroupPreparer()
def test_acr_agentpool(self, resource_group):
# Agentpool prerequisites for agentpool testing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only
from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only, live_only


class AcrConnectedRegistryCommandsTests(ScenarioTest):

@live_only()
@ResourceGroupPreparer()
def test_acr_connectedregistry(self, resource_group):
# Agentpool prerequisites for connected registry testing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ def test_aks_api_server_authorized_ip_ranges(self, resource_group, resource_grou
# delete
self.cmd('aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()])

@live_only()
@AllowLargeResponse()
@AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2')
def test_aks_create_and_update_with_http_proxy_config(self, resource_group, resource_group_location):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from unittest import mock
from knack.util import CLIError

from azure.cli.testsdk import ResourceGroupPreparer, ScenarioTest, StorageAccountPreparer
from azure.cli.testsdk import ResourceGroupPreparer, ScenarioTest, StorageAccountPreparer, live_only
from azure.cli.testsdk.scenario_tests import AllowLargeResponse
from azure.mgmt.iothub.models import RoutingSource
from azure.cli.command_modules.iot.shared import IdentityType
Expand Down Expand Up @@ -840,6 +840,7 @@ def test_hub_file_upload(self, resource_group, resource_group_location, storage_
assert storage_cs_pattern in updated_hub['properties']['storageEndpoints']['$default']['connectionString']
assert updated_hub['properties']['storageEndpoints']['$default']['containerName'] == containerName

@live_only()
@AllowLargeResponse()
@ResourceGroupPreparer(location='westus2')
def test_hub_wait(self, resource_group, resource_group_location):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class ServerMgmtScenarioTest(ScenarioTest):
def test_mariadb_server_mgmt(self, resource_group_1, resource_group_2):
self._test_server_mgmt('mariadb', resource_group_1, resource_group_2)

@live_only()
@AllowLargeResponse()
@ResourceGroupPreparer(parameter_name='resource_group_1')
@ResourceGroupPreparer(parameter_name='resource_group_2')
Expand Down Expand Up @@ -342,6 +343,7 @@ def _test_server_mgmt(self, database_engine, resource_group_1, resource_group_2)

class ProxyResourcesMgmtScenarioTest(ScenarioTest):

@live_only()
@AllowLargeResponse()
@ResourceGroupPreparer()
@ServerPreparer(engine_type='mariadb')
Expand All @@ -354,6 +356,7 @@ def test_mariadb_proxy_resources_mgmt(self, resource_group, server, database_eng
self._test_private_link_resource(resource_group, server, database_engine, 'mariadbServer')
self._test_private_endpoint_connection(resource_group, server, database_engine)

@live_only()
@AllowLargeResponse()
@ResourceGroupPreparer()
@ServerPreparer(engine_type='mysql')
Expand Down