Ask HN: How can I write a test to check for race conditions? | Hacker News Reader