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

Fix checks for write errors on some FLE2 tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Security 2024-09-16
    • 0

      The fle2_crud.js, fle2_compact.js, and fle2_contention_insert.js tests all check for write conflict errors by calling result.hasWriteError(). However, this may fail with a TypeError since the return type of insert is not always an instance of WriteError.

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

              Created:
              Updated:
              Resolved: