Skip to content

Commit

Permalink
PMM-7 use docker compose v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Oct 6, 2023
1 parent fae753d commit e4cf7a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ test-race: env ## Run all tests with race flag.
go test -race -v -timeout 30s ./...

test-cluster: env ## Starts MongoDB test cluster. Use env var TEST_MONGODB_IMAGE to set flavor and version. Example: TEST_MONGODB_IMAGE=mongo:3.6 make test-cluster
docker-compose up -d --wait
docker compose up -d --wait

test-cluster-clean: env ## Stops MongoDB test cluster.
docker-compose down --remove-orphans
docker compose down --remove-orphans

0 comments on commit e4cf7a5

Please sign in to comment.