mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## 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.
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
- persistence:
|
|
dbname: active_adv_vis
|
|
clustermetadata:
|
|
enableGlobalNamespace: true
|
|
failoverVersionIncrement: 10
|
|
masterClusterName: "active-adv-vis"
|
|
currentClusterName: "active-adv-vis"
|
|
clusterInformation:
|
|
active-adv-vis:
|
|
enabled: true
|
|
initialFailoverVersion: 1
|
|
rpcName: "frontend"
|
|
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_xdc_test_active
|
|
|
|
- persistence:
|
|
dbname: standby_adv_vis
|
|
clustermetadata:
|
|
enableGlobalNamespace: true
|
|
failoverVersionIncrement: 10
|
|
masterClusterName: "standby-adv-vis"
|
|
currentClusterName: "standby-adv-vis"
|
|
clusterInformation:
|
|
standby-adv-vis:
|
|
enabled: true
|
|
initialFailoverVersion: 2
|
|
rpcName: "frontend"
|
|
enablearchival: false
|
|
workerconfig:
|
|
enablearchiver: false
|
|
enablereplicator: true
|
|
clusterno: 3
|
|
historyconfig:
|
|
numhistoryshards: 1
|
|
numhistoryhosts: 1
|
|
esconfig:
|
|
version: "${ES_VERSION}"
|
|
url:
|
|
scheme: "http"
|
|
host: "${ES_SEEDS}:9200"
|
|
indices:
|
|
visibility: temporal_visibility_v1_xdc_test_standby
|