prometheus/discovery/openstack
Julien Pivotto 27867412a7
openstack tests: use new test.Cleanup function (#7514)
Since we dependend on go1.14 now, we can use T.Cleanup
https://golang.org/pkg/testing/#T.Cleanup

This provides a nicer approach to shut down the test server.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-07-06 20:24:16 +02:00
..
hypervisor_test.go openstack tests: use new test.Cleanup function (#7514) 2020-07-06 20:24:16 +02:00
hypervisor.go OpenStack SD: Add availability config option, to choose endpoint type (#7494) 2020-07-02 15:17:56 +01:00
instance_test.go openstack tests: use new test.Cleanup function (#7514) 2020-07-06 20:24:16 +02:00
instance.go OpenStack SD: Add availability config option, to choose endpoint type (#7494) 2020-07-02 15:17:56 +01:00
mock_test.go openstack tests: use new test.Cleanup function (#7514) 2020-07-06 20:24:16 +02:00
openstack.go Openstack: Reduce timeouts (#7507) 2020-07-02 22:50:32 +02:00