Help us shape the future of Go! Take the 2026 Go Developer Survey

integration

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

Cortex integration tests

Supported environment variables

  • CORTEX_IMAGE: Docker image used to run Cortex in integration tests (defaults to quay.io/cortexproject/cortex:latest)
  • CORTEX_CHECKOUT_DIR: The absolute path of the Cortex repository local checkout (defaults to $GOPATH/src/github.com/cortexproject/cortex)

Running

Integration tests have integration tag (// +build integration line followed by empty line on top of Go files), to avoid running them unintentionally, e.g. by go test ./... in main Cortex package.

To run integration tests, one needs to run go test -tags=integration ./integration/... (or just go test -tags=integration ./... to run unit tests as well).

Owners

This package is used by other projects than Cortex. When modifying please ask @pracucci @bwplotka for review.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
e2e
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL