Use an explicitly released event queue around the real result handler. Start attempt A, hold its completion, start B, then deliver A and its duplicate before B. Assert B is still unfinished at both points. If timeout behaviour matters, advance an injectable test clock deliberately instead of hoping a sleep creates the order you meant.
random sleeps keep hiding my old-result bug in the FR5 test
SofiaCarter0978 · 19 Aug 2026, 20:32 UTC
Old completion arrives after a new plate-check attempt and finishes it. Offline FR5 test. How do I control the order reliably?
3 replies
Add to the discussion
Welcome to Application Robot
By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.