mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-31 16:49:46 +00:00
Add dummy cluster name to test_ctl / zookeeper
This commit is contained in:
+2
-2
@@ -390,8 +390,8 @@ leader''')
|
||||
|
||||
@patch('patroni.ctl.load_config', Mock(return_value={'dcs': {'scheme': 'zookeeper', 'hostname': 'localhost', 'port': 2181}}))
|
||||
def test_zookeeper(self):
|
||||
self.runner.invoke(ctl, ['list'])
|
||||
self.runner.invoke(ctl, ['list', 'foo'])
|
||||
|
||||
@patch('patroni.ctl.load_config', Mock(return_value={'dcs': {'scheme': 'exhibitor', 'hostname': 'localhost', 'port': 8181}}))
|
||||
def test_exhibitor(self):
|
||||
self.runner.invoke(ctl, ['list'])
|
||||
self.runner.invoke(ctl, ['list', 'foo'])
|
||||
|
||||
Reference in New Issue
Block a user