diff --git a/spec/initializers/mailer_retries_spec.rb b/spec/initializers/mailer_retries_spec.rb
index 59b8056aa0cbfa2a0aedb8f2968d2a9389873d22..c1e56784ad98d9563c7d3887ecff51460319868d 100644
--- a/spec/initializers/mailer_retries_spec.rb
+++ b/spec/initializers/mailer_retries_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe 'Mailer retries' do
     descendants.each { |a| a.queue_adapter = :test }
   end
 
-  it 'sets retries for mailers to 3' do
+  it 'sets retries for mailers to 3', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/332645' do
     DeviseMailer.user_admin_approval(create(:user)).deliver_later
 
     expect(Sidekiq::Queues['mailers'].first).to include('retry' => 3)