Fix flaky inactive project deletion spec

What does this MR do and why?

Fixes flaky spec. Related thread in https://gitlab.slack.com/archives/C0AGF243NNT/p1771960319253899 (internal only)

Merge request reports

Loading