mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
make test more chaotic (still passes)
This commit is contained in:
committed by
Craig Peterson
parent
2f41bf007f
commit
96583a9188
@ -281,8 +281,15 @@ func TestCaas(t *testing.T) {
|
|||||||
|
|
||||||
// this will pass or fail depending on the ordering. Not ok.
|
// this will pass or fail depending on the ordering. Not ok.
|
||||||
desired[0].SetTargetCAA(3, "issue", "letsencrypt.org.")
|
desired[0].SetTargetCAA(3, "issue", "letsencrypt.org.")
|
||||||
desired[2].SetTargetCAA(3, "issue", "amazon.com.")
|
desired[1].SetTargetCAA(3, "issue", "amazon.com.")
|
||||||
desired[1].SetTargetCAA(3, "issuewild", "letsencrypt.org.")
|
desired[2].SetTargetCAA(3, "issuewild", "letsencrypt.org.")
|
||||||
|
|
||||||
|
checkLengthsFull(t, existing, desired, 3, 0, 0, 0, false, nil)
|
||||||
|
|
||||||
|
// Make sure it passes with a different ordering. Not ok.
|
||||||
|
desired[2].SetTargetCAA(3, "issue", "letsencrypt.org.")
|
||||||
|
desired[1].SetTargetCAA(3, "issue", "amazon.com.")
|
||||||
|
desired[0].SetTargetCAA(3, "issuewild", "letsencrypt.org.")
|
||||||
|
|
||||||
checkLengthsFull(t, existing, desired, 3, 0, 0, 0, false, nil)
|
checkLengthsFull(t, existing, desired, 3, 0, 0, 0, false, nil)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user