ansible-collection-hetzner-.../tests/integration
Julian Tölle e218306028
test: various fixes for integration tests (#193)
* test: update for new locations

* test(cert): fix issues with random name failing the test

The variable hcloud_dns_test_domain used the random function to generate
a number from 1-100. This number changed between every usage of the
variable, so the test that compared the domain name of the cert to the
variable kept failing, as different numbers were generated.

By generating the number once and saving it into a fact, this is fixed.

* test: fix issues with long resource names

Server and volume names have restricted length (63 and 64 respectivly).

This can cause issues when the `hcloud_prefix` is of certain length. By
applying truncate, we can be sure to not reach the limit.

This issue mainly happened in our internal ci, as the hcloud_prefix variable
contains the hostname where the tests were running, and our hostnames are
quite long.
2023-02-13 10:48:26 +01:00
..
targets test: various fixes for integration tests (#193) 2023-02-13 10:48:26 +01:00
constraints.txt Fix error handling and add test cases (#58) 2021-02-24 13:37:58 +01:00
requirements.txt Polish old modules and collection for release (#11) 2020-06-29 13:53:01 +02:00