mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
<!-- Describe what has changed in this PR --> **What changed?** Renamed files, structs and functions to reflect that they are _functional_ tests (instead of integration tests - which are a separate thing), following how the `Makefile` and CI already categorize them. The word "integration" does not exist inside `/tests` anymore. <!-- Tell your future self why have you made these changes --> **Why?** To reduce confusion by aligning terminology across the board. <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> **How did you test it?** Only tests have been changed. <!-- Assuming the worst case, what can be broken when deploying this change to production? --> **Potential risks** * ❓ **Git merge**: It might create large merge conflicts for other engineers? But it should be easy to fix. * ✅ **Git history**: The renamed files are correctly tracked in git and will preserve their git history. <!-- Is this PR a hotfix candidate or require that a notification be sent to the broader community? (Yes/No) --> **Is hotfix candidate?** No.
94 lines
2.4 KiB
YAML
94 lines
2.4 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: "127.0.0.1:7134"
|
|
cluster-b:
|
|
enabled: true
|
|
initialFailoverVersion: 2
|
|
rpcName: "frontend"
|
|
rpcAddress: "127.0.0.1:8134"
|
|
cluster-c:
|
|
enabled: true
|
|
initialFailoverVersion: 3
|
|
rpcName: "frontend"
|
|
rpcAddress: "127.0.0.1:9134"
|
|
enablearchival: false
|
|
workerconfig:
|
|
enablearchiver: false
|
|
enablereplicator: true
|
|
clusterno: 0
|
|
historyconfig:
|
|
numhistoryshards: 1
|
|
numhistoryhosts: 1
|
|
- 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: "127.0.0.1:7134"
|
|
cluster-b:
|
|
enabled: true
|
|
initialFailoverVersion: 2
|
|
rpcName: "frontend"
|
|
rpcAddress: "127.0.0.1:8134"
|
|
cluster-c:
|
|
enabled: true
|
|
initialFailoverVersion: 3
|
|
rpcName: "frontend"
|
|
rpcAddress: "127.0.0.1:9134"
|
|
enablearchival: false
|
|
workerconfig:
|
|
enablearchiver: false
|
|
enablereplicator: true
|
|
clusterno: 1
|
|
historyconfig:
|
|
numhistoryshards: 1
|
|
numhistoryhosts: 1
|
|
- persistence:
|
|
dbname: other
|
|
clustermetadata:
|
|
enableGlobalNamespace: true
|
|
failoverVersionIncrement: 10
|
|
masterClusterName: "cluster-a"
|
|
currentClusterName: "cluster-c"
|
|
clusterInformation:
|
|
cluster-a:
|
|
enabled: true
|
|
initialFailoverVersion: 1
|
|
rpcName: "frontend"
|
|
rpcAddress: "127.0.0.1:7134"
|
|
cluster-b:
|
|
enabled: true
|
|
initialFailoverVersion: 2
|
|
rpcName: "frontend"
|
|
rpcAddress: "127.0.0.1:8134"
|
|
cluster-c:
|
|
enabled: true
|
|
initialFailoverVersion: 3
|
|
rpcName: "frontend"
|
|
rpcAddress: "127.0.0.1:9134"
|
|
enablearchival: false
|
|
workerconfig:
|
|
enablearchiver: false
|
|
enablereplicator: true
|
|
clusterno: 2
|
|
historyconfig:
|
|
numhistoryshards: 1
|
|
numhistoryhosts: 1
|