Commit 8b3c7f57 authored by Shinya Maeda's avatar Shinya Maeda

Avoid using destroy_all

parent 3703cc4b
......@@ -459,7 +459,8 @@ module Ci
end
def erase_test_reports!
job_artifacts.test_reports.destroy_all
# TODO: Use fast_destroy_all in the context of https://gitlab.com/gitlab-org/gitlab-ce/issues/35240
job_artifacts_junit&.destroy
end
def erase(opts = {})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment