Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-775

Avoid large arrays in test runner

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.14.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The test runner uses fixed size arrays for temporary data:

      /* Arbitrary max of 2048 instances of temporary test data. Increase as needed.
       */
      #define TEST_DATA_COUNT 2048
      

      Increasing this array was needed for tests added in MONGOCRYPT-723. However, increasing this array to 3000 resulted in an observed segfault on Windows tests.

      Revise approach to avoid the limitation on Windows.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: