Do not print large oplog in test_layered23

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - 2025-10-24
    • None

      test_layered23 currently prints the entire contents of its Oplog class here:

          def __str__(self):
              return 'Oplog:' + \
                  f' timestamp={self._timestamp}, use_timestamp={self._use_timestamps}' + \
                  f' entries - list of (table,k,v)={self._entries},' + \
                  f' uris - list of (uri, entlist)={self._uris},' + \
                  f' lookup - (table,k) -> list of (ts,value)={self._lookup}'
      

      This slows down the test and results in a very large results.txt file. We should only print the relevant parts (such as the count or just a few entries), or not print this at all.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: