dns, tests: skip wrong test
This test, whose scope is to assert that search domains with 253
characters are valid is mistakenly asserting the regex validation
fails.
A follow up commit should address this bug, which is
[0] - https://github.com/kubevirt/kubevirt/issues/6469)
@@ -176,9 +176,9 @@ var _ = Describe("DHCP Server", func() {
Entry("with a partial search domain", "local"),
)
- It("should accept domains with full length of 253 chars", func() {
+ XIt("should accept domains with full length of 253 chars", func() {
b := append(createBytes(249), []byte(".com")...)
- Expect(isValidSearchDomain(string(b))).To(BeFalse())
+ Expect(isValidSearchDomain(string(b))).To(BeTrue())
})
})
