1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Rapid recheck for NS1 monitors

This commit is contained in:
Viranch Mehta
2021-12-03 15:25:38 -08:00
parent ec1be7b6f5
commit 85eeec988c
3 changed files with 13 additions and 2 deletions

View File

@@ -933,6 +933,10 @@ class TestNs1ProviderDynamic(TestCase):
monitor = provider._monitor_gen(record, value)
self.assertEquals(300, monitor['frequency'])
record._octodns['ns1']['healthcheck']['rapid_recheck'] = True
monitor = provider._monitor_gen(record, value)
self.assertTrue(monitor['rapid_recheck'])
record._octodns['ns1']['healthcheck']['connect_timeout'] = 1
monitor = provider._monitor_gen(record, value)
self.assertEquals(1000, monitor['config']['connect_timeout'])