Fix failing duo_workflow specs
Problem
This caused an incident for the Release team due to failures on the dev.gitlab.com mirror. Private link: gitlab-com/gl-infra/production#20320 (closed)
The following specs were fast-quarantined to resolve the incident:
ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb:85
ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb:90
ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb:190
ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb:122
ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb:158
ee/spec/tasks/gitlab/duo_workflow/duo_workflow_spec.rb:177
We should determine the root cause of the issue and fix, or fully quarantine the specs.
Root cause
Some tests run with ruby 3.2.0 which does not support SecureRandom.uuid_v7.
Solution
We'll port the securerandom commit to a library in gitlab.
Edited by Alper Akgun