Closed jooola closed 11 months ago
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
I think this was fixed in https://github.com/ansible-collections/hetzner.hcloud/pull/316 by explicitly creating a new snapshot before running the test: https://github.com/ansible-collections/hetzner.hcloud/blob/main/tests/integration/targets/image_info/tasks/prepare.yml
SUMMARY
The
hcloud_image_info
integration test attempt to list a snapshot namedalways-there-snapshot
, this snapshot is present in the Hetzner Cloud project used by the CI, but is not setup when running tests locally.The
hcloud_placement_group
,hcloud_rdns
andhcloud_server
integration test attempt to attach an ssh key that is only present in the Hetzner Cloud project used by the CI.Maybe a setup/teardown could be automated, or at least a setup.
ISSUE TYPE
COMPONENT NAME
hcloud_image_info
hcloud_placement_group
hcloud_rdns
STEPS TO REPRODUCE
EXPECTED RESULTS
The tests should pass locally as well as in the CI.
ACTUAL RESULTS
The tests fail because of the missing snapshot.