Files
tasks/tests/testdata/ndc_clusters.yaml
David ReissandGitHub eec7afba09 Run top-level functional test suites in parallel (#6595)
## What changed?
- Automatically assign cluster number so test clusters don't conflict on
ips/ports.
- Remove ability to run functional tests against external (non-managed)
cluster. This probably hasn't worked for a while.
- Set t.Parallel() on most functional tests (ndc doesn't work yet, but
those are fast anyway).

## Why?
faster functional tests, better resource usage

## How did you test it?
is tests

## Potential risks
- We may need to limit parallelism further to avoid using too much
memory, Go's default is `GOMAXPROCS`, i.e. number of cores.
- Logs are much harder to read.
2024-10-15 15:45:46 -07:00

117 lines
2.8 KiB
YAML

- persistence:
dbname: test_cluster_a
clustermetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 10
masterClusterName: "cluster-a"
currentClusterName: "cluster-a"
clusterInformation:
cluster-a:
enabled: true
initialFailoverVersion: 1
rpcName: "frontend"
rpcAddress: "nowhere1:7134"
cluster-b:
enabled: true
initialFailoverVersion: 2
rpcName: "frontend"
rpcAddress: "nowhere2:7134"
cluster-c:
enabled: true
initialFailoverVersion: 3
rpcName: "frontend"
rpcAddress: "nowhere3:7134"
enablearchival: false
workerconfig:
enablearchiver: false
enablereplicator: true
clusterno: 0
historyconfig:
numhistoryshards: 1
numhistoryhosts: 1
esconfig:
version: "${ES_VERSION}"
url:
scheme: "http"
host: "${ES_SEEDS}:9200"
indices:
visibility: temporal_visibility_v1_ndc_test_a
- persistence:
dbname: cluster_b
clustermetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 10
masterClusterName: "cluster-a"
currentClusterName: "cluster-b"
clusterInformation:
cluster-a:
enabled: true
initialFailoverVersion: 1
rpcName: "frontend"
rpcAddress: "nowhere1:7134"
cluster-b:
enabled: true
initialFailoverVersion: 2
rpcName: "frontend"
rpcAddress: "nowhere2:7134"
cluster-c:
enabled: true
initialFailoverVersion: 3
rpcName: "frontend"
rpcAddress: "nowhere3:7134"
enablearchival: false
workerconfig:
enablearchiver: false
enablereplicator: true
clusterno: 1
historyconfig:
numhistoryshards: 1
numhistoryhosts: 1
esconfig:
version: "${ES_VERSION}"
url:
scheme: "http"
host: "${ES_SEEDS}:9200"
indices:
visibility: temporal_visibility_v1_ndc_test_b
- persistence:
dbname: other
clustermetadata:
enableGlobalNamespace: true
failoverVersionIncrement: 10
masterClusterName: "cluster-a"
currentClusterName: "cluster-c"
clusterInformation:
cluster-a:
enabled: true
initialFailoverVersion: 1
rpcName: "frontend"
rpcAddress: "nowhere1:7134"
cluster-b:
enabled: true
initialFailoverVersion: 2
rpcName: "frontend"
rpcAddress: "nowhere2:7134"
cluster-c:
enabled: true
initialFailoverVersion: 3
rpcName: "frontend"
rpcAddress: "nowhere3:7134"
enablearchival: false
workerconfig:
enablearchiver: false
enablereplicator: true
clusterno: 2
historyconfig:
numhistoryshards: 1
numhistoryhosts: 1
esconfig:
version: "${ES_VERSION}"
url:
scheme: "http"
host: "${ES_SEEDS}:9200"
indices:
visibility: temporal_visibility_v1_ndc_test_c