Fix flaky spec
What does this MR do and why?
Fix flaky spec
Related to #454197
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.