Details
Description
Because deleting a TestRun deletes all of its TestOutcomes in a single transaction, the transaction may time out if there are too many TestOutcomes. This could be remedied by using batches of transactions or no transactions at all.
In my own testing I never ran into any timeout issues with deleting TestRuns. I deleted a very large one in about 4 seconds with transactions and 3 without.