---
schema_version: "1"
id: b8e2f37b3d3bf46cbac2a959992df607f4634029be292e79511064340a3efcd5
title: Considerations for Test Data Cleanup
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_testing_cleanup_considerations.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_testing_cleanup_considerations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: aa9f5463b19de2e813ba4ab5c143c9745a4fadc22d5ac4c3ca19b615b948fcf3
description: Review these considerations before you change the test data retention period or create a cleanup job.
products:
  - Salesforce Platform
release: "264"
---
# Considerations for Test Data Cleanup

Review these considerations before you change the test data retention period or create a cleanup job.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong> (API access required), <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> editions</td></tr></tbody></table>

- 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.