Avoid large arrays in test runner

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: