Fix flakey time-sensitive specs that rely on notes background Sidekiq jobs
Fix flakey time-sensitive specs that rely on notes background Sidekiq jobs

Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/48093

We use `perform_enqueued_jobs` because it is "adapter-agnostic so it's better to use it over Sidekiq::Testing.inline!." -- https://gitlab.com/gitlab-org/gitlab-ce/issues/22991

iiet/iiet-git,dreampet/gitlab,jirutka/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,mmkassem/gitlabhq,axilleas/gitlabhq,iiet/iiet-git,stoplightio/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,iiet/iiet-git,stoplightio/gitlabhq,mmkassem/gitlabhq,axilleas/gitlabhq,iiet/iiet-git,jirutka/gitlabhq,dreampet/gitlab,stoplightio/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,mmkassem/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq