by nine_k · 7y ago · 0 comments
Nothing mind-blowing or earth-shattering. A number of useful things to learn at these 30-60 seconds when you can't read anything more interesting, though.
But who considered someone taking a piss and thought "that time could be better utilized?"
You cannot test how your code behaves when midnight passes, when daylight saving time changes either way, when it's 29th of February, etc.
More importantly, you cannot reliably (let alone quickly) test how your retry and timeout handling works, especially if two threads interact, or when you do (stubbed or mocked) remote API calls. All these things are the daily bread when working with Google's services, and basically at any setup with multiple (micro)services.