mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 21:55:57 +08:00
fix test framework causing BIND to fail
This commit is contained in:
parent
14c98cdda1
commit
37feaed962
1 changed files with 3 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ func getDomainConfigWithNameservers(t *testing.T, prv providers.DNSServiceProvid
|
|||
dc := &models.DomainConfig{
|
||||
Name: domainName,
|
||||
}
|
||||
dc.PostProcess()
|
||||
|
||||
// fix up nameservers
|
||||
ns, err := prv.GetNameservers(domainName)
|
||||
|
|
@ -147,6 +148,8 @@ func makeChanges(t *testing.T, prv providers.DNSServiceProvider, dc *models.Doma
|
|||
return
|
||||
}
|
||||
|
||||
fmt.Printf("DEBUG: Running test %q: Names %q %q %q\n", desc, dom.Name, dom.NameRaw, dom.NameUnicode)
|
||||
|
||||
// get and run corrections for first time
|
||||
_, corrections, actualChangeCount, err := zonerecs.CorrectZoneRecords(prv, dom)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue