Merge "Fix issues with value pool-manger and bind9 tests"

This commit is contained in:
Jenkins 2017-06-09 12:11:18 +00:00 committed by Gerrit Code Review
commit c4497e38be
2 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ class Bind9BackendTestCase(BackendTestCase):
'masters': [{'host': '192.0.2.1', 'port': 53},
{'host': '192.0.2.2', 'port': 35}],
'options': [{'key': 'host', 'value': '192.0.2.3'},
{'key': 'port', 'value': 53},
{'key': 'port', 'value': '53'},
{'key': 'rndc_host', 'value': '192.0.2.4'},
{'key': 'rndc_port', 'value': 953},
{'key': 'rndc_port', 'value': '953'},
{'key': 'rndc_bin_path', 'value': '/usr/sbin/rndc'},
{'key': 'rndc_config_file', 'value': '/etc/rndc.conf'},
{'key': 'rndc_key_file', 'value': '/etc/rndc.key'},

View File

@ -91,7 +91,7 @@ class PoolManagerAPITest(PoolManagerTestCase):
zone = objects.Zone.from_dict(values)
values = {
'host': '127.0.0.1',
'port': '53'
'port': 53
}
nameserver = objects.PoolNameserver.from_dict(values)
PoolManagerAPI.get_instance().update_status(