Avoid using destroy_all
This commit is contained in:
parent
3703cc4bbb
commit
8b3c7f57b2
|
@ -459,7 +459,8 @@ module Ci
|
||||||
end
|
end
|
||||||
|
|
||||||
def erase_test_reports!
|
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
|
end
|
||||||
|
|
||||||
def erase(opts = {})
|
def erase(opts = {})
|
||||||
|
|
Loading…
Reference in New Issue