mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NEW FEATURE: Order changes based on the record dependencies (#2419)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com> Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
@@ -1986,15 +1986,15 @@ func makeTests(t *testing.T) []*TestGroup {
|
||||
testgroup("IGNORE_TARGET function CNAME",
|
||||
tc("Create some records",
|
||||
cname("foo", "test.foo.com."),
|
||||
cname("keep", "keep.example.com."),
|
||||
cname("keep", "keeper.example.com."),
|
||||
),
|
||||
tc("ignoring CNAME=test.foo.com.",
|
||||
ignoreTarget("test.foo.com.", "CNAME"),
|
||||
cname("keep", "keep.example.com."),
|
||||
cname("keep", "keeper.example.com."),
|
||||
).ExpectNoChanges(),
|
||||
tc("ignoring CNAME=test.foo.com. and add",
|
||||
ignoreTarget("test.foo.com.", "CNAME"),
|
||||
cname("keep", "keep.example.com."),
|
||||
cname("keep", "keeper.example.com."),
|
||||
a("adding", "1.2.3.4"),
|
||||
cname("another", "www.example.com."),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user