Automated Expression Rule Test Results Cleanup

Certified Associate Developer

For the automated expression rule testing, currently test results expire after 7 days (as mentioned in the documentation for function a!testRunResultForId). Is this a configuration that can be changed? We can to decrease the retention period to perform an aggressive clean up for this data. 

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    We have integrated the automated rule testing in our devops build pipeline. For all tests to run it is taking over 45 mins now, which was earlier under 10 mins. We noticed from db monitoring that queries to test_result table are taking more time due to increased rows in test result table (has over 100k rows). 

    We basically want to bring down the overall test execution time by purging data from the test result table.

Children