""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(230) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_230(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["sbw_name"] = "sbw_api_auto" scenario.variables["sbw_chargetype"] = "Month" scenario.variables["sbw_bw"] = 20 scenario.variables["resize_bw"] = 22 scenario.variables["Region"] = "cn-bj2" scenario.variables["eip_operatorname"] = "Bgp" scenario.variables["eip_bw"] = 2 scenario.run(client) @scenario.step( max_retries=10, retry_interval=10,
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(488) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_488(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.variables["DBTypeId"] = "percona-5.6" scenario.variables["InstanceMode"] = "HA" scenario.variables["InstanceType"] = "Normal" scenario.variables["Port"] = 3306 scenario.variables["MemoryLimit"] = 1000 scenario.variables["DiskSpace"] = 20 scenario.variables["DBName"] = "auto_habz_" scenario.variables["UseSSD"] = False scenario.run(client)
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(227) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_227(client: utest.Client, variables: dict): scenario.initial(variables) scenario.run(client) @scenario.step( max_retries=10, retry_interval=10, startup_delay=0, fast_fail=False, validators=lambda variables: [("str_eq", "RetCode", 0)], action="CreateULB", ) def create_ulb_00(client: utest.Client, variables: dict): d = { "ULBName": "测试",
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(490) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_490(client, variables): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.variables["DBTypeId"] = "mysql-5.7" scenario.variables["InstanceMode"] = "HA" scenario.variables["InstanceType"] = "SATA_SSD" scenario.variables["Port"] = 3306 scenario.variables["MemoryLimit"] = 1000 scenario.variables["DiskSpace"] = 20 scenario.variables["DBName"] = "auto_hassd_" scenario.variables["UseSSD"] = True scenario.run(client) @scenario.step( max_retries=0, retry_interval=0, startup_delay=0,
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(207) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_207(client, variables): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.variables["DBTypeId"] = "percona-5.7" scenario.variables["InstanceMode"] = "Normal" scenario.variables["InstanceType"] = "Normal" scenario.variables["Port"] = 3306 scenario.variables["MemoryLimit"] = 1000 scenario.variables["DiskSpace"] = 20 scenario.variables["DBName"] = "auto_ptbz_" scenario.variables["UseSSD"] = False scenario.run(client) @scenario.step( max_retries=0, retry_interval=0,
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(2457) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_2457(client, variables): scenario.initial(variables) scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False, validators=lambda variables: [("str_eq", "RetCode", 0)], action="CreateVPC", ) def create_vpc_00(client, variables): d = { "Region": variables.get("Region"), "Network": ["192.168.0.0/16"], "Name": "ulb-ssl-vpc", }
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(2377) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_2377(client, variables): scenario.initial(variables) scenario.variables["Password"] = "******" scenario.variables["Type"] = "GPU-2080-V5" scenario.variables["ModifyName"] = "TestName" scenario.variables["ModifyRemark"] = "TestRemark" scenario.variables["Cluster"] = "10G" scenario.variables["Raid"] = "NoRaid" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=True, validators=lambda variables: [ ("str_eq", "RetCode", 0), ("str_eq", "Action", "DescribePHostImageResponse"),
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(471) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_471(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["Password"] = "******" scenario.variables["CreateBootDisk"] = 20 scenario.variables["ChargeType"] = "Month" scenario.variables["CreateCPU"] = 1 scenario.variables["CreateMem"] = 1024 scenario.variables["CreateDiskspace"] = 0 scenario.variables["NewPassword"] = "******" scenario.variables["Name"] = "uhost-basic-api-ResetPassword" scenario.variables["ImageID"] = "#{u_get_image_resource($Region,$Zone)}" scenario.run(client) @scenario.step(
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(503) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_503(client, variables): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.variables["DBTypeId"] = "mysql-5.7" scenario.variables["InstanceMode"] = "HA" scenario.variables["InstanceType"] = "Normal" scenario.variables["Port"] = 3306 scenario.variables["MemoryLimit"] = 1000 scenario.variables["DiskSpace"] = 20 scenario.variables["DBName"] = "auto_habz_" scenario.variables["UseSSD"] = False scenario.run(client) @scenario.step( max_retries=0, retry_interval=0, startup_delay=0,
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(181) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_181(client, variables): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.variables["DBTypeId"] = "mongodb-3.0" scenario.variables["InstanceMode"] = "Normal" scenario.variables["InstanceType"] = "Normal" scenario.variables["Port"] = 27017 scenario.variables["MemoryLimit"] = 600 scenario.variables["DiskSpace"] = 20 scenario.variables["DBName"] = "AUTO" scenario.variables["UseSSD"] = False scenario.variables["GroupName"] = "mongodb3.0默认MMAPv1-shardsvr配置" scenario.run(client) @scenario.step( max_retries=0, retry_interval=0,
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(1073) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_1073(client, variables): scenario.initial(variables) scenario.variables["Password"] = "******" scenario.variables["Type"] = "SSD-2" scenario.variables["Name"] = "test123123" scenario.variables["Remark"] = "test123123" scenario.variables["ChargeType"] = "Month" scenario.variables["ProjectId"] = "ohrg-xbbyex" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=True, validators=lambda variables: [ ("str_eq", "RetCode", 0), ("str_eq", "Action", "DescribePHostImageResponse"),
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(2935) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_2935(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables[ "Image_Id_ucloud"] = "#{u_get_image_resource($Region,$Zone)}" scenario.variables["saopaulo_image"] = "uimage-1bkjka" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False, validators=lambda variables: [ ("str_eq", "RetCode", 0),
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(330) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_330(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.run(client) @scenario.step( max_retries=0, retry_interval=0, startup_delay=0, fast_fail=False, validators=lambda variables: [("str_eq", "RetCode", 0)], action="CreateUMemcacheGroup", )
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(113) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_113(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.run(client) @scenario.step( max_retries=0, retry_interval=0, startup_delay=3, fast_fail=False, validators=lambda variables: [("str_eq", "RetCode", 0)], action="CreateUFSVolume", )
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(687) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_687(client, variables): scenario.initial(variables) scenario.variables["VPC_name_1"] = "VPC_api_test_1" scenario.variables["remark"] = "remark_api_test" scenario.variables["tag"] = "tag_api_test" scenario.variables["Subnet_name_1_1"] = "subnet_1_1" scenario.variables["subnet_netmask"] = 24 scenario.variables["project_id"] = "org-achi1o" scenario.run(client) @scenario.step( max_retries=0, retry_interval=0, startup_delay=0, fast_fail=False, validators=lambda variables: [ ("str_eq", "RetCode", 0), ("str_eq", "Action", "GetProjectListResponse"),
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(286) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_286(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["UDiskType"] = "DataDisk" scenario.variables["Size"] = 1 scenario.variables["UDataArkMode"] = "No" scenario.variables["UDiskName"] = "auto_udisk_noArk" scenario.variables["UDiskCloneName"] = "auto_udisk_noArk_Clone" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0,
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(2174) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_2174(client, variables): scenario.initial(variables) scenario.variables["ConfigId"] = "03f58ca9-b64d-4bdd-abc7-c6b9a46fd801" scenario.variables["Password"] = "******" scenario.variables["HighAvailability"] = "disable" scenario.variables["Version"] = 3.2 scenario.variables["Protocol"] = "redis" scenario.variables["ResourceType"] = "single" scenario.variables["Name"] = "single_redis" scenario.run(client) @scenario.step( max_retries=50, retry_interval=10, startup_delay=10, fast_fail=False, validators=lambda variables: [("str_eq", "RetCode", 0)], action="CreateURedisGroup",
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(4140) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_4140(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["BucketName_test"] = funcs.concat( "ucdntest-", funcs.get_timestamp(10) ) scenario.variables["time_granule_type"] = 1 scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False,
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(242) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_242(client, variables): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.run(client) @scenario.step( max_retries=0, retry_interval=0, startup_delay=0, fast_fail=False, validators=lambda variables: [("str_eq", "RetCode", 0)], action="DescribeURedisPrice", ) def describe_uredis_price_00(client, variables): d = { "Zone": variables.get("Zone"), "Size": 1,
""" Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(1203) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_1203(client: utest.Client, variables: dict): scenario.initial(variables) scenario.variables["Protocol"] = "redis" scenario.variables["Type"] = "double" scenario.variables["Name"] = "distributed_redis" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False, validators=lambda variables: [
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(448) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_448(client, variables): scenario.initial(variables) scenario.variables["Password"] = "******" scenario.variables["CreateBootDisk"] = 20 scenario.variables["ChargeType"] = "Month" scenario.variables["CreateCPU"] = 1 scenario.variables["CreateMem"] = 1024 scenario.variables["CreateDiskspace"] = 20 scenario.variables["UpgradeDiskSpace"] = 30 scenario.variables["NewPassword"] = "******" scenario.variables["Name"] = "uhost-basic-api-N2-Normal-LocalDisk-1" scenario.variables["ImageID"] = "#{u_get_image_resource($Region,$Zone)}" scenario.variables["UpgradeBootDisk"] = 40 scenario.variables["UpgradeCPU"] = 2 scenario.run(client) @scenario.step( max_retries=3,
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(279) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_279(client, variables): scenario.initial(variables) scenario.variables["Image_Id"] = "#{u_get_image_resource($Region,$Zone)}" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False, validators=lambda variables: [ ("str_eq", "RetCode", 0), ("str_eq", "Action", "DescribeImageResponse"), ], action="DescribeImage", ) def describe_image_00(client, variables): d = {
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(268) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_268(client, variables): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["eip_bw"] = 2 scenario.variables["bwp1_bw"] = 3 scenario.variables["eip_operatorname"] = "Bgp" scenario.variables["bwp2_bw"] = 4 scenario.variables["Image_Id"] = "#{u_get_image_resource($Region,$Zone)}" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False, validators=lambda variables: [ ("str_eq", "RetCode", 0), ("str_eq", "Action", "DescribeImageResponse"),
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(867) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_867(client, variables): scenario.initial(variables) scenario.variables["Password"] = "******" scenario.variables["SnapshotSysName"] = "snapshot-ARK-SYS-01" scenario.variables["SnapshotSysDesc"] = "snapshot-ARK-SYS-01-desc" scenario.variables["SnapDiskType"] = "LocalBoot" scenario.variables[ "SnapshotDataNameModify"] = "snapshot-ARK-DATA-01-modify" scenario.variables[ "SnapshotDataDescModify"] = "snapshot-ARK-DATA-01-desc-Modify" scenario.variables["UhostName"] = "uhost-snapshot-ARK-auto-api-1" scenario.variables["SnapshotDataName"] = "snapshot-ARK-DATA-01" scenario.variables["SnapshotDataDesc"] = "snapshot-ARK-DATA-01-desc" scenario.variables[ "CreateFromTimeMachinePassword"] = "******" scenario.variables["ImageID"] = "#{u_get_image_resource($Region,$Zone)}" scenario.run(client)
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(302) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_302(client, variables): scenario.initial(variables) scenario.variables["tag"] = "tag_api_test" scenario.variables["remark"] = "remark_api_test" scenario.variables["fw_name_1"] = funcs.concat( "fw_A_", funcs.get_timestamp(13), "_" ) scenario.variables["fw_rule_1_protocol"] = "TCP" scenario.variables["fw_rule_1_port"] = 1111 scenario.variables["fw_rule_1_srcip"] = "0.0.0.0/0" scenario.variables["fw_rule_1_action"] = "ACCEPT" scenario.variables["fw_rule_1_priority"] = "HIGH" scenario.variables["uhost_name_1"] = "firewall_api_test" scenario.variables["fw_rule_2_protocol"] = "UDP" scenario.variables["fw_rule_2_port"] = 2222 scenario.variables["fw_rule_2_srcip"] = "10.0.0.0/8" scenario.variables["fw_rule_2_action"] = "DROP" scenario.variables["fw_rule_2_priority"] = "LOW"
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(2117) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_2117(client, variables): scenario.initial(variables) scenario.variables["ResourceType"] = "single" scenario.variables["ConfigId"] = "9a891891-c245-4b66-bce8-67e59430d67c" scenario.variables["Name"] = "single_memcache" scenario.variables["Protocol"] = "memcache" scenario.variables["Count"] = 1 scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False, validators=lambda variables: [ ("str_eq", "RetCode", 0), ("str_eq", "Action", "CreateUMemcacheGroupResponse"), ],
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(3278) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_3278(client, variables): scenario.initial(variables) scenario.variables[ "Image_Id_cloud"] = "#{u_get_image_resource($Region,$Zone)}" scenario.variables["saopaulo_image"] = "uimage-1bkjka" scenario.run(client) @scenario.step( max_retries=3, retry_interval=1, startup_delay=0, fast_fail=False, validators=lambda variables: [ ("str_eq", "RetCode", 0), ("str_eq", "Action", "DescribeImageResponse"), ], action="DescribeImage", )
# -*- coding: utf-8 -*- """ Code is generated by ucloud-model, DO NOT EDIT IT. """ import pytest import logging from ucloud.core import exc from ucloud.testing import env, funcs, op, utest logger = logging.getLogger(__name__) scenario = utest.Scenario(179) @pytest.mark.skipif(env.is_ut(), reason=env.get_skip_reason()) def test_set_179(client, variables): scenario.initial(variables) scenario.variables["Region"] = "cn-bj2" scenario.variables["Zone"] = "cn-bj2-02" scenario.variables["DBTypeId"] = "mongodb-3.2" scenario.variables["InstanceMode"] = "Normal" scenario.variables["InstanceType"] = "Normal" scenario.variables["Port"] = 27017 scenario.variables["MemoryLimit"] = 600 scenario.variables["DiskSpace"] = 20 scenario.variables["DBName"] = "AUTO-" scenario.variables["UseSSD"] = False scenario.variables["GroupName"] = "mongodb3.2默认WiredTiger-configsvr配置" scenario.variables["GroupNameMongos"] = "mongodb3.2默认mongos配置" scenario.run(client) @scenario.step( max_retries=0,