prometheus/cmd/prometheus
Łukasz Mierzwa f2b9a39a48 Use a random port in cmd/prometheus tests
There are a few tests that will run prometheus command.
This can test if there's already something listening on port :9090 since --web.listen-address defaults to 0.0.0.0:9090.
To fix that we can tell prometheus to use a random port on loopback interface.

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2023-04-03 11:21:50 +01:00
..
testdata End-to-end Query Log test (#6600) 2020-01-19 21:56:13 +00:00
main.go Document command line tools 2023-03-13 14:20:55 +01:00
main_test.go Use a random port in cmd/prometheus tests 2023-04-03 11:21:50 +01:00
main_unix_test.go Update main_unix_test.go (#10917) 2022-06-27 16:15:51 +02:00
query_log_test.go refactor: move from io/ioutil to io and os packages (#10528) 2022-04-27 11:24:36 +02:00