You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contributing/how-integration-tests-work.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,13 @@ This will locally build the `quay.io/cortexproject/cortex:latest` image used by
20
20
Once the Docker image is built, you can run integration tests:
21
21
22
22
```
23
-
go test -v -tags=integration,requires_docker,integration_alertmanager,integration_memberlist,integration_querier,integration_ruler,integration_query_fuzz ./integration/...
23
+
go test -v -tags=requires_docker ./integration/...
24
24
```
25
25
26
-
If you want to run a single test you can use a filter. For example, to only run `TestRulerMetricsWhenIngesterFails`:
26
+
If you want to run a single test you can use a filter. For example, to only run `TestChunksStorageAllIndexBackends`:
27
27
28
28
```
29
-
go test -v -tags=integration,requires_docker,integration_ruler ./integration/ -run "^TestRulerMetricsWhenIngesterFails$" -count=1
29
+
go test -v -tags=requires_docker ./integration -run "^TestChunksStorageAllIndexBackends$"
30
30
```
31
31
32
32
### Supported environment variables
@@ -46,4 +46,4 @@ Integration tests have `requires_docker` tag (`// +build requires_docker` line f
46
46
47
47
## Isolation
48
48
49
-
Each integration test runs in isolation. For each integration test, we do create a Docker network, start Cortex and its dependencies containers, push/query series to/from Cortex and run assertions on it. Once the test has done, both the Docker network and containers are terminated and deleted.
49
+
Each integration test runs in isolation. For each integration test, we do create a Docker network, start Cortex and its dependencies containers, push/query series to/from Cortex and run assertions on it. Once the test has done, both the Docker network and containers are terminated and deleted.
0 commit comments