mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 02:42:22 +08:00
Chore: Update developer guide for running integration tests (#57758)
This commit is contained in:

committed by
GitHub

parent
3d437117ad
commit
40a59c2793
@ -149,13 +149,13 @@ go test -covermode=atomic -tags=integration ./pkg/...
|
||||
To run PostgreSQL and MySQL integration tests locally, you need to start the docker blocks for MySQL and/or PostgreSQL test data sources by running `make devenv sources=mysql_tests,postgres_tests`. When your test data sources are running, you can execute integration tests by running:
|
||||
|
||||
```bash
|
||||
GRAFANA_TEST_DB=mysql go test -covermode=atomic -tags=integration ./pkg/...
|
||||
make test-go-integration-mysql
|
||||
```
|
||||
|
||||
and/or
|
||||
|
||||
```bash
|
||||
GRAFANA_TEST_DB=postgres go test -covermode=atomic -tags=integration ./pkg/...
|
||||
make test-go-integration-postgres
|
||||
```
|
||||
|
||||
### Run end-to-end tests
|
||||
|
Reference in New Issue
Block a user