Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-647

FLE tests should be skipped if mongocryptd is not available

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.13.0-beta1, 1.13.0
    • Affects Version/s: None
    • Component/s: Tests
    • None

      While running the test suite locally, I noticed several errors/failures in ClientSideEncryptionSpecTest due to mongocryptd being unavailable.

      It appears that skipIfClientSideEncryptionIsNotSupported only checks the server's FCV and whether PHPC has libmongocrypt compiled in. It would be reasonable to also ensure mongocryptd is running, or perhaps consult an environment variable to catch a case where it should be running but is otherwise inaccessible (where we'd want tests to run and fail accordingly).

            Assignee:
            aleksandr.rudo@mongodb.com Aleksandr Rudo (Inactive)
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: