Skip to content

Commit

Permalink
test: increate wait timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rmocanu-ionos committed Jan 31, 2024
1 parent 5d52eb6 commit 9ad1700
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/natgateway/nat-gateway-flowlog-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
name: "{{ name }}"
public_ips: "{{ ipblock_response.ipblock.properties.ips }}"
wait: true
wait_timeout: 2000
register: nat_gateway_response

- name: Debug - Show NAT Gateway
Expand Down
1 change: 1 addition & 0 deletions tests/natgateway/nat-gateway-rule-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
datacenter: "{{ datacenter_response.datacenter.id }}"
name: "{{ name }}"
public_ips: "{{ ipblock_response.ipblock.properties.ips }}"
wait_timeout: 2000
wait: true
register: nat_gateway_response

Expand Down
2 changes: 2 additions & 0 deletions tests/natgateway/nat-gateway-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
- id: "{{ lan_response.lan.id }}"
gateway_ips:
- "10.11.2.5/24"
wait_timeout: 2000
wait: true
register: nat_gateway_response

Expand All @@ -60,6 +61,7 @@
name: "{{ name }} - UPDATED"
public_ips: "{{ ipblock_response_update.ipblock.properties.ips }}"
nat_gateway: "{{ nat_gateway_response.nat_gateway.id }}"
wait_timeout: 2000
wait: true
state: update
register: nat_gateway_response_update
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
listener_lan: "{{ listener_lan.lan.id }}"
target_lan: "{{ target_lan.lan.id }}"
wait: true
wait_timeout: 2000
register: nlb_response

- name: Debug - Show Network Load Balancer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
listener_lan: "{{ listener_lan.lan.id }}"
target_lan: "{{ target_lan.lan.id }}"
wait: true
wait_timeout: 2000
register: nlb_response

# - name: Print output to file
Expand Down
5 changes: 5 additions & 0 deletions tests/networkloadbalancer/network-load-balancer-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
listener_lan: "{{ listener_lan.lan.id }}"
target_lan: "{{ target_lan.lan.id }}"
wait: true
wait_timeout: 2000
register: nlb_response

- name: Debug - Show Network Load Balancer
Expand All @@ -52,6 +53,7 @@
listener_lan: "{{ listener_lan.lan.id }}"
target_lan: "{{ target_lan.lan.id }}"
wait: true
wait_timeout: 2000
state: update
register: nlb_response_update

Expand All @@ -64,20 +66,23 @@
network_load_balancer: "{{ nlb_response.network_load_balancer.id }}"
datacenter: "{{ datacenter_response.datacenter.id }}"
wait: false
wait_timeout: 2000
state: absent

- name: Remove Network Load Balancer
ionoscloudsdk.ionoscloud.network_load_balancer:
network_load_balancer: "{{ nlb_response.network_load_balancer.id }}"
datacenter: "{{ datacenter_response.datacenter.id }}"
wait: true
wait_timeout: 2000
state: absent

- name: Remove Network Load Balancer
ionoscloudsdk.ionoscloud.network_load_balancer:
network_load_balancer: "invalid-id"
datacenter: "{{ datacenter_response.datacenter.id }}"
wait: true
wait_timeout: 2000
state: absent

- name: Remove Listener LAN
Expand Down

0 comments on commit 9ad1700

Please sign in to comment.