Fix "ttl" typos
Change-Id: I20b99ab09e8c8fb5246e4697b6b32eef54623425
This commit is contained in:
parent
1e73301742
commit
a3922846ac
@ -42,7 +42,7 @@ DnsGroup = [
|
||||
help="Timeout in seconds to wait for an resource to build."),
|
||||
cfg.IntOpt('min_ttl',
|
||||
default=0,
|
||||
help="The minimum value to respect when generating ttls"),
|
||||
help="The minimum value to respect when generating ttl"),
|
||||
cfg.ListOpt('nameservers',
|
||||
default=[],
|
||||
help="The nameservers to check for change going live"),
|
||||
|
@ -732,10 +732,10 @@ class ZonesNegativeTest(BaseZonesTest):
|
||||
|
||||
@decorators.idempotent_id('551853c0-8593-11eb-8c8a-74e5f9e2a801')
|
||||
def test_no_valid_ttl(self):
|
||||
no_valid_tls = ['zahlabut', -60000,
|
||||
no_valid_ttl = ['zahlabut', -60000,
|
||||
2147483647 + 10] # Max valid TTL is 2147483647
|
||||
|
||||
for ttl in no_valid_tls:
|
||||
for ttl in no_valid_ttl:
|
||||
LOG.info(
|
||||
'Trying to create a zone using: {} as TTL'
|
||||
' value: '.format(ttl))
|
||||
|
Loading…
Reference in New Issue
Block a user