You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf
n/a
Logs from Telegraf
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
The text was updated successfully, but these errors were encountered: