-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into linasn/dbnode-metrics
* master: [dtest] Run tests on an existing cluster launched with docker compose (#3067) [coordinator] Disable downsampler matcher cache by default (#3080) [dbnode][m3ninx] Use new doc.Document in query results to reduce slice allocations (#3057) [matcher/coordinator] Add latency metrics to rule matching (#3083) [coordinator] Rollout augmentM3Tags flag to true by default (#3082) [aggregator] Add ActivePlacementVersion to tcp client (#3071)
- Loading branch information
Showing
73 changed files
with
1,058 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: "3.5" | ||
services: | ||
dbnode01: | ||
networks: | ||
- dtest | ||
image: m3dbnode:dev | ||
container_name: dbnode01 | ||
ports: | ||
- "0.0.0.0:2379:2379" | ||
- "0.0.0.0:9000:9000" | ||
volumes: | ||
- "./m3dbnode.yml:/etc/m3dbnode/m3dbnode.yml" | ||
coord01: | ||
networks: | ||
- dtest | ||
image: m3coordinator:dev | ||
container_name: coord01 | ||
ports: | ||
- "0.0.0.0:7201:7201" | ||
- "0.0.0.0:7204:7204" | ||
volumes: | ||
- "./m3coordinator.yml:/etc/m3coordinator/m3coordinator.yml" | ||
networks: | ||
dtest: |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
set -o pipefail | ||
|
||
COMPOSE_FILE=./scripts/dtest/docker-compose.yml | ||
|
||
function defer { | ||
docker-compose -f "${COMPOSE_FILE}" down | ||
} | ||
|
||
trap defer EXIT | ||
|
||
docker-compose -f "${COMPOSE_FILE}" up --detach | ||
|
||
go test -v -tags=dtest ./src/cmd/tools/dtest/docker/harness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.