Fix test_prepare_discover01

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-08-29
    • 3

      I re-enabled test_prepare_discover01 and it's starting to fail
       

      while prepared_discover_cursor.next() == 0: count += 1 prepared_id = prepared_discover_cursor.get_key() self.assertEqual(prepared_id, 100) c2s2.begin_transaction("claim_prepared=" + self.timestamp_str(prepared_id)) c2s2.rollback_transaction("rollback_timestamp=" + self.timestamp_str(200)) self.assertEqual(count, 1)

      failed with

      [pid:127325]: Traceback (most recent call last): File "/home/ubuntu/dev/wiredtiger.worktrees/wt-15165/test/suite/wttest.py", line 243, in _callTestMethod method() File "/home/ubuntu/dev/wiredtiger.worktrees/wt-15165/test/suite/test_prepare_discover01.py", line 102, in test_prepare_discover01 self.assertEqual(count, 1) AssertionError: 0 != 1
      
      

      Fix this before adding hash map optimization

            Assignee:
            Linh Tran
            Reporter:
            Linh Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: