Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93527

Break up bloated FLE2 unit tests

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security

      Some of our fle2 test modules (e.g. fle_crypt_test.cpp) have significantly increased in size and complexity since queryable encryption equality was first implemented. Currently the module contains tests for not only the functions in fle_crypto.h, but also other APIs like compaction (fle2_compact.h) and the range re-encoding functions in fle_numeric.h. I would not be surprised if it turns out that we have redundant tests on this module, or if we lack some testing coverage for certain functions. We should break up fle_crypto_test.cpp into multiple modules, where each file contains tests targeted toward the functions exposed in the corresponding .h file.

            Assignee:
            Unassigned Unassigned
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: