logoalt Hacker News

jrochkind1yesterday at 11:27 PM2 repliesview on HN

> I assume some tests at least broke that meant they needed to be "fixed up"

OP said:

"However, we did not have any tests asserting the behavior remains consistent due to the ambiguous language in the RFC."

One could guess it's something like -- back when we wrote the tests, years ago, whoever did it missed that this was required, not helped by the fact that the spec proceeded RFC 2119 standardizing the all-caps "MUST" "SHOULD" etc language, which would have helped us translsate specs to tests more completely.


Replies

ibejoebtoday at 9:51 AM

Even if there weren't tests for the return order, I would have bet that there were tests of backbone resolvers like getaddrinfo. Is it really possible that the first time anyone noticed that that crashed, or that ciscos bootlooped, was on a live query?

account42today at 9:02 AM

You'd think that something this widely used would have golden tests that detect any output change to trigger manual review but apparently they don't.

show 1 reply