diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 08392a686..7f065c1bb 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -112,7 +112,13 @@ jobs: image: grafana/loki:2.8.0 ports: - "3100:3100" - command: -config.file=/etc/loki/local-config.yaml + options: >- + --name=loki1 + --health-cmd "curl -f http://localhost:3100/ready" + --health-interval 30s + --health-timeout 10s + --health-retries 5 + --health-start-period 30s steps: diff --git a/pkg/acquisition/modules/loki/loki_test.go b/pkg/acquisition/modules/loki/loki_test.go index 74a1a2d1f..89304c358 100644 --- a/pkg/acquisition/modules/loki/loki_test.go +++ b/pkg/acquisition/modules/loki/loki_test.go @@ -328,7 +328,7 @@ mode: tail source: loki url: http://127.0.0.1:3100 query: > - {server="demo"} + {server="demo"} `, expectedErr: "", streamErr: "", diff --git a/test/localstack/docker-compose.yml b/test/localstack/docker-compose.yml index e26b20965..65dd1ca8e 100644 --- a/test/localstack/docker-compose.yml +++ b/test/localstack/docker-compose.yml @@ -82,4 +82,3 @@ services: image: grafana/loki:2.8.0 ports: - "3100:3100" - command: -config.file=/etc/loki/local-config.yaml