demarches-normaliennes/spec/jobs
Pierre de La Morinerie 7a67f1a802 jobs: ignore missing blob during virus scan
We currently have many failed VirusScannerJob enqueued, because the
underlying blob is missing.

This PR fixes the issue by discarding the job in those cases (because if
the blob is gone, the job is never going to succeed).

The implementation is based on a similar issue encoutered by the
ActiveStorage::AnalyzeJob. See 06f8baf73c
2020-07-13 14:35:41 +02:00
..
api_entreprise fetch effectifs mensuels for may month 2020-06-24 10:23:00 +02:00
administrateur_activate_before_expiration_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
application_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
auto_archive_procedure_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
declarative_procedures_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
find_dubious_procedures_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
virus_scanner_job_spec.rb jobs: ignore missing blob during virus scan 2020-07-13 14:35:41 +02:00
weekly_overview_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00