Description
When fetching through the REST endpoint, the wrong tests are being returned for a task. This seems related to when a task is being restarted and the second execution is running. Instead of being able to get the tests for the first execution, an empty array is being returned. When the second execution has finished running, tests are able to be correctly fetched for each execution.
Thread: https://mongodb.slack.com/archives/C0V896UV8/p1654113646561139