Skip to content

Commit

Permalink
Add integration tests which test happy path (#5968)
Browse files Browse the repository at this point in the history
* Add integration tests which test happy path

This PR adds simple go based integration tests, which can run Loki
in two modes:

- single-binary
- micro-services with index-gateway

After standing up it performs the most basic duties like:
- ingest logs
- run a range query
- query label names and label values

This is meant to catch more significant problem as early as possible in
the PR.

We should aim to keep this as simple as possible.

* Replace config generation with template

Makes configuration much more readable and avoids easy mistakes

* Apply suggestions from code review

Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>

Co-authored-by: Michel Hollands <42814411+MichelHollands@users.noreply.github.com>
  • Loading branch information
simonswine and MichelHollands authored May 3, 2022
1 parent 7fff660 commit 213bb86
Show file tree
Hide file tree
Showing 7 changed files with 989 additions and 6 deletions.
Loading

0 comments on commit 213bb86

Please sign in to comment.