From 9ad54694381529d0ba572dd67790d46ba9fae40c Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Tue, 17 May 2022 14:26:27 -0600 Subject: [PATCH] test: remove unused riemann from docker-compose (#11118) --- docker-compose.yml | 6 +----- plugins/outputs/riemann_legacy/riemann_legacy_test.go | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index bd092d0718388..c72ddbbe47e40 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,7 @@ services: - MYSQL_ALLOW_EMPTY_PASSWORD=yes ports: - "3306:3306" - # removes warning "mbind operation not permitted" enables you to see the docker logs + # removes warning "mbind operation not permitted" enables you to see the docker logs cap_add: - SYS_NICE # CAP_SYS_NICE memcached: @@ -82,10 +82,6 @@ services: image: open62541/open62541 ports: - "4840:4840" - riemann: - image: stealthly/docker-riemann - ports: - - "5555:5555" nats: image: nats ports: diff --git a/plugins/outputs/riemann_legacy/riemann_legacy_test.go b/plugins/outputs/riemann_legacy/riemann_legacy_test.go index 6450956ff1275..08877bfc374db 100644 --- a/plugins/outputs/riemann_legacy/riemann_legacy_test.go +++ b/plugins/outputs/riemann_legacy/riemann_legacy_test.go @@ -8,6 +8,7 @@ import ( ) func TestConnectAndWrite(t *testing.T) { + // if this needs to run use: `docker run stealthly/docker-riemann` t.Skip("Skipping legacy integration test") url := testutil.GetLocalHost() + ":5555" @@ -15,6 +16,7 @@ func TestConnectAndWrite(t *testing.T) { r := &Riemann{ URL: url, Transport: "tcp", + Log: testutil.Logger{}, } err := r.Connect()