mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
test: do not check error messages meant for humans (#540)
##### SUMMARY Reduce tests flakiness, as human error messages may change over time.
This commit is contained in:
parent
ee09398b85
commit
4bfd063fca
9 changed files with 0 additions and 14 deletions
|
@ -373,7 +373,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "Floating IP deletion is protected"
|
||||
|
||||
- name: test update Floating IP delete protection
|
||||
hetzner.hcloud.floating_ip:
|
||||
|
@ -462,7 +461,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "Floating IP deletion is protected"
|
||||
|
||||
- name: test update Floating IP delete protection
|
||||
hetzner.hcloud.floating_ip:
|
||||
|
|
|
@ -121,7 +121,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "load balancer deletion is protected"
|
||||
|
||||
- name: Test update delete_protection
|
||||
hetzner.hcloud.load_balancer:
|
||||
|
|
|
@ -100,7 +100,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "network is delete protected"
|
||||
|
||||
- name: Test update delete protection
|
||||
hetzner.hcloud.network:
|
||||
|
|
|
@ -121,7 +121,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "Primary IP deletion is protected"
|
||||
|
||||
- name: Test update delete protection
|
||||
hetzner.hcloud.primary_ip:
|
||||
|
|
|
@ -316,7 +316,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "server deletion is protected"
|
||||
|
||||
- name: test rebuild server fails if it is protected
|
||||
hetzner.hcloud.server:
|
||||
|
@ -330,7 +329,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "server rebuild is protected"
|
||||
|
||||
- name: test remove server protection
|
||||
hetzner.hcloud.server:
|
||||
|
@ -588,7 +586,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "server deletion is protected"
|
||||
|
||||
- name: remove protection from server
|
||||
hetzner.hcloud.server:
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "not_found"
|
||||
- result.failure.message == "firewall not-existing was not found"
|
||||
|
||||
- name: setup create firewalls
|
||||
hetzner.hcloud.firewall:
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "not_found"
|
||||
- result.failure.message == "server_type not-existing-server-type was not found"
|
||||
|
||||
- name: test create server with not existing image
|
||||
hetzner.hcloud.server:
|
||||
|
@ -50,4 +49,3 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "not_found"
|
||||
- result.failure.message == "Image my-not-existing-image-20.04 was not found"
|
||||
|
|
|
@ -134,7 +134,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "uniqueness_error"
|
||||
- result.failure.message == "SSH key with the same fingerprint already exists"
|
||||
|
||||
- name: test delete ssh key
|
||||
hetzner.hcloud.ssh_key:
|
||||
|
|
|
@ -209,7 +209,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "volume deletion is protected"
|
||||
|
||||
- name: test update Volume delete protection
|
||||
hetzner.hcloud.volume:
|
||||
|
@ -256,7 +255,6 @@
|
|||
that:
|
||||
- result is failed
|
||||
- result.failure.code == "protected"
|
||||
- result.failure.message == "volume deletion is protected"
|
||||
|
||||
- name: test update Volume delete protection
|
||||
hetzner.hcloud.volume:
|
||||
|
|
Loading…
Reference in a new issue