From 0127a75132a6802526997496057235b893dcfcf1 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Thu, 20 Dec 2018 10:48:21 +0800 Subject: [PATCH] optimising vmss tests (#50175) --- .../tasks/main.yml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml b/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml index d6dc0d8872..cb3166c51f 100644 --- a/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml +++ b/test/integration/targets/azure_rm_virtualmachine_scaleset/tasks/main.yml @@ -83,11 +83,11 @@ azure_rm_virtualmachine_scaleset: resource_group: "{{ resource_group }}" name: testVMSS{{ rpfx }} - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s admin_username: testuser ssh_password_enabled: true admin_password: "Password1234!" - capacity: 2 + capacity: 1 virtual_network_name: testVnet subnet_name: testSubnet load_balancer: testLB @@ -128,11 +128,11 @@ azure_rm_virtualmachine_scaleset: resource_group: "{{ resource_group }}" name: testVMSS{{ rpfx }} - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s admin_username: testuser ssh_password_enabled: true admin_password: "Password1234!" - capacity: 2 + capacity: 1 virtual_network_name: testVnet subnet_name: testSubnet upgrade_policy: Manual @@ -159,11 +159,11 @@ azure_rm_virtualmachine_scaleset: resource_group: "{{ resource_group }}" name: testVMSS{{ rpfx }} - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s admin_username: testuser ssh_password_enabled: true admin_password: "Password1234!" - capacity: 2 + capacity: 1 virtual_network_name: testVnet subnet_name: testSubnet upgrade_policy: Automatic @@ -228,8 +228,8 @@ name: testVMSS{{ rpfx }} state: absent remove_on_absent: ['all'] - vm_size: Standard_DS1_v2 - capacity: 2 + vm_size: Standard_B1s + capacity: 1 image: offer: CoreOS publisher: CoreOS @@ -338,7 +338,7 @@ azure_rm_virtualmachine_scaleset: resource_group: "{{ resource_group }}" name: testVMSS{{ rpfx }}2 - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s capacity: 1 virtual_network_name: testVnet subnet_name: testSubnet @@ -367,7 +367,7 @@ name: testVMSS{{ rpfx }}2 state: absent remove_on_absent: ['all'] - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s capacity: 1 image: offer: CoreOS @@ -379,7 +379,7 @@ azure_rm_virtualmachine_scaleset: resource_group: "{{ resource_group }}" name: testVMSS{{ rpfx }}4 - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s virtual_network_name: testVnet subnet_name: testSubnet admin_username: testuser @@ -438,7 +438,7 @@ resource_group: "{{ resource_group }}" name: testvm002 state: present - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s image: offer: UbuntuServer register: fail_invalid_image_dict @@ -449,7 +449,7 @@ resource_group: "{{ resource_group }}" name: testvm002 state: present - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s image: - testing register: fail_invalid_image_type @@ -460,7 +460,7 @@ resource_group: "{{ resource_group }}" name: testvm002 state: present - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s image: invalid-image register: fail_missing_custom_image failed_when: fail_missing_custom_image.msg != "Error could not find image with name invalid-image" @@ -470,7 +470,7 @@ resource_group: "{{ resource_group }}" name: testvm002 state: present - vm_size: Standard_DS1_v2 + vm_size: Standard_B1s image: name: invalid-image register: fail_missing_custom_image_dict