I struggle with how to handle this at work. I am a data engineer and while writing new scripts to pull data, the testing process sometimes involves waiting 15 mins to an hour (or more) for all the data to pull. Some times I'll start a new task in the middle of the pull or, if I expect it'll only be a few minutes, I'll flip out my phone. But once the data is finished pulling, I'll then need to jump back it and validate it one last time.
I'm curious what others do during this sort of downtime?