-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behavior
Description
Relevant telegraf.conf
n/a
Logs from Telegraf
2022/05/17 12:17:01 Entering
--- FAIL: TestSocketListener_tcp (0.00s)
riemann_listener_test.go:25:
Error Trace: riemann_listener_test.go:25
Error: Received unexpected error:
listen tcp 127.0.0.1:5555: bind: address already in use
Test: TestSocketListener_tcp
FAIL
FAIL github.com/influxdata/telegraf/plugins/inputs/riemann_listener 0.049s
System info
master
Docker
No response
Steps to reproduce
docker-compose up
go test -count=1 -race -timeout 30s ./plugins/inputs/riemann_listener/...
Expected behavior
tests to pass
Actual behavior
If the docker compose containers are running, it means that a reimann listener is already setup on port 5555. Then in the input test it attempts to start a socket listener using the same port.
Additionally, only the outputs/riemann_legacy plugin even attempts to use the reimann listener that is set up by the docker compose script, and that single test is always skipped.
Additional info
No response
Metadata
Metadata
Assignees
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behavior