test: add server cleanup timeout workaround (#539)

##### SUMMARY

Prevent a timeout error when cleaning up server right after the firewall
got deleted.
This commit is contained in:
Jonas L. 2024-08-01 16:08:33 +02:00 committed by GitHub
parent 563e2bdd67
commit ee09398b85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View file

@ -5,6 +5,10 @@
state: absent state: absent
force: true force: true
- name: Workaround to prevent a timeout during the server deletion
ansible.builtin.pause:
seconds: 2
- name: Cleanup test_server - name: Cleanup test_server
hetzner.hcloud.server: hetzner.hcloud.server:
name: "{{ hcloud_server_name }}" name: "{{ hcloud_server_name }}"

View file

@ -5,6 +5,10 @@
state: absent state: absent
force: true force: true
- name: Workaround to prevent a timeout during the server deletion
ansible.builtin.pause:
seconds: 2
- name: Cleanup test_server - name: Cleanup test_server
hetzner.hcloud.server: hetzner.hcloud.server:
name: "{{ hcloud_server_name }}" name: "{{ hcloud_server_name }}"

View file

@ -5,6 +5,10 @@
state: absent state: absent
force: true force: true
- name: Workaround to prevent a timeout during the server deletion
ansible.builtin.pause:
seconds: 2
- name: Cleanup test_server - name: Cleanup test_server
hetzner.hcloud.server: hetzner.hcloud.server:
name: "{{ hcloud_server_name }}" name: "{{ hcloud_server_name }}"