diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2020-06-03 01:30:45 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2020-06-03 01:30:45 +0300 |
| commit | a986322540c94009c94833157f95e0c0cbf6729a (patch) | |
| tree | 84e04d4ce7799d7a80f098728657a72c08271a86 | |
| parent | c8f87409b8151911e0fa00a94e287956b9eb9423 (diff) | |
| download | rabbitmq-server-git-a986322540c94009c94833157f95e0c0cbf6729a.tar.gz | |
Test cases for short peer discovery aliases
| -rw-r--r-- | test/config_schema_SUITE_data/rabbit.snippets | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/test/config_schema_SUITE_data/rabbit.snippets b/test/config_schema_SUITE_data/rabbit.snippets index 96930a375b..e2384e178b 100644 --- a/test/config_schema_SUITE_data/rabbit.snippets +++ b/test/config_schema_SUITE_data/rabbit.snippets @@ -102,7 +102,31 @@ cluster_formation.node_type = disc", {node_type,disc}]}, {cluster_nodes,{[rabbit@hostname2,rabbit@hostname1],disc}}]}], []}, - {cluster_formation_disK, + + {cluster_formation_module_classic_confog_alias, + "cluster_formation.peer_discovery_backend = classic_config +cluster_formation.classic_config.nodes.peer1 = rabbit@hostname1 +cluster_formation.classic_config.nodes.peer2 = rabbit@hostname2", + [{rabbit, + [{cluster_formation, + [{peer_discovery_backend,rabbit_peer_discovery_classic_config}]}, + {cluster_nodes,{[rabbit@hostname2,rabbit@hostname1],disc}}]}], + []}, + + {cluster_formation_module_dns_alias, + "cluster_formation.peer_discovery_backend = dns +cluster_formation.dns.hostname = discovery.eng.example.local", + [{rabbit, + [ + {cluster_formation, + [{peer_discovery_backend,rabbit_peer_discovery_dns}, + {peer_discovery_dns, [ + {hostname, <<"discovery.eng.example.local">>} + ]}]} + ]}], + []}, + + {cluster_formation_disk, "cluster_formation.peer_discovery_backend = rabbit_peer_discovery_classic_config cluster_formation.classic_config.nodes.peer1 = rabbit@hostname1 cluster_formation.classic_config.nodes.peer2 = rabbit@hostname2 |
