Re:Tokio and Prctl = Nasty Bug
by kobzol on Monday February 24, 2025 @02:13AM
(#43156640)
Could be done, yeah, but 20s isn't that much, and I'd like to avoid adding more test-only magic environment variables zo configure this (our end-to-end tests are in Python and they use HQ as a binary).
[ Parent
| on HN ]
Re:Tokio and Prctl = Nasty Bug
by vlovich123 on Tuesday February 25, 2025 @09:09AM
(#43172040)
I appreciate the sentiment, but I think itβs making the wrong pragmatism/purity tradeoff. The test is brittle - what happens when a future update of the dependency in a couple of years makes a change to the default timeout value? Aside from making test runs quicker which is good for anyone running the test suite without caring about this 1 test itself, it future proofs the test flakiness better against defaults changing out from under you.