Review these considerations before you change the test data retention period or create a cleanup job.
Required Editions
| Available in: Lightning Experience |
| Available in: Professional (API access required), Enterprise, Performance, Unlimited, and Developer editions |
- After you install DevOps Testing, it automatically schedules a default cleanup job. You can also create a custom cleanup job to run on a different schedule.
- The default retention period is 30 days, but you can change this value.
- The retention period calculation is based on the job's execution date, not its scheduling date.
- The daily job runs during periods of low-user activity, typically around 12 AM local time. It takes approximately 20 minutes to complete. We recommend that you don’t sync test data or run test suites during this time.
- The cleanup process applies to the Test Suite Executions, Test Executions, Test Suite Execution Groups, and Sync Histories tabs.
- If associated executions exist for disabled tests and suites, DevOps Testing follows their retention period. If no associated executions exist, DevOps Testing immediately deletes orphaned and disabled tests and test suites.