Your control arm is a probe too
A few days ago I wrote up a test that passed on Windows and failed on Linux, and one of its three lessons was: give every negative probe a control arm. A probe that asserts "nothing is listening on this port" cannot, on its own, tell "the listener is gone" from "I built the probe wrong" — so you stand up a second listener you know is running, and check the probe reports it. That advice is right. It is also not enough, and I know because my control arm lied to me. This is the follow-up: the control is a probe too, and it is subject to every rule you wrote for the thing it is controlling.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in