test: remove unused riemann from docker-compose (#11118)

This commit is contained in:
Joshua Powers 2022-05-17 14:26:27 -06:00 committed by GitHub
parent 42f954fc88
commit b4b52d1a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -40,7 +40,7 @@ services:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_ALLOW_EMPTY_PASSWORD=yes
ports: ports:
- "3306:3306" - "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: cap_add:
- SYS_NICE # CAP_SYS_NICE - SYS_NICE # CAP_SYS_NICE
memcached: memcached:
@ -82,10 +82,6 @@ services:
image: open62541/open62541 image: open62541/open62541
ports: ports:
- "4840:4840" - "4840:4840"
riemann:
image: stealthly/docker-riemann
ports:
- "5555:5555"
nats: nats:
image: nats image: nats
ports: ports:

View File

@ -8,6 +8,7 @@ import (
) )
func TestConnectAndWrite(t *testing.T) { func TestConnectAndWrite(t *testing.T) {
// if this needs to run use: `docker run stealthly/docker-riemann`
t.Skip("Skipping legacy integration test") t.Skip("Skipping legacy integration test")
url := testutil.GetLocalHost() + ":5555" url := testutil.GetLocalHost() + ":5555"
@ -15,6 +16,7 @@ func TestConnectAndWrite(t *testing.T) {
r := &Riemann{ r := &Riemann{
URL: url, URL: url,
Transport: "tcp", Transport: "tcp",
Log: testutil.Logger{},
} }
err := r.Connect() err := r.Connect()