Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5573

Fix the compare_file() function in test_util01 and enable unit test test_dump_process_timestamp_old()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3 Desired
    • Component/s: None
    • Labels:

      Description

      We had a case where unit test test_dump_process_timestamp_old() in test test_util01.py should have been failing but instead was passing due to limitations in compare_file() function. The function incorrectly returns true for case where two files are not of the same size but have common content in start. 

      This ticket will fix the the function and then enable the test. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-storage-engines Backlog - Storage Engines Team
                Reporter:
                haseeb.bokhari Haseeb Bokhari
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: