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

Increase unit test coverage for serializing/deserializing SBE values

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

      We have tests in value_serialization_test.cpp, that cover Value serialization for sorter, and value serialization into key string. There are some missing types of values. We should increase the coverage by investigating missing types and adding tests for all of them. 

      An potential idea for implementing from Mihai: You can imagine having a static map from type tag to testFn, and asserting that, for each type, our map has a testFn for that type tag.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            adi.agrawal@mongodb.com Adi Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: