Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5656

Fix broken FLE spec in mongoid/tasks/database_rake_spec

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 9.0.0
    • Affects Version/s: None
    • Component/s: FLE
    • None

      I am pretty sure this spec related to FLE is broken and Mongoid is skipping it in test runs.

      You can see the failure here: https://github.com/tablecheck/mongoid-ultra/actions/runs/5989956616/job/16246745994

      There are two problems:

      1. The DB client for encrypted is not configured correctly.
      2. OptionParser#order! is choking on RSpec's default --pattern option. This might be somewhat environment specific, but AFAIK RSpec injects this automatically.

            Assignee:
            jamis.buck@mongodb.com Jamis Buck
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: