disagg: Fix layered python tests cursor13, cursor21 that fail stats check

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cursors
    • Storage Engines, Storage Engines - Foundations
    • None
    • None

      There are a couple of cursor tests that fail under the disagg hook because statistics returned are not expected.  It's possible the tests may need to be adjusted for disagg.  It's probably good to wait until WT-15291 is fixed, as that may fix some WT_CURSOR->prev issues that may have a bearing on these tests. 

      The two failures are in cursor13 and cursor 21:

      $ python3 ../test/suite/run.py --hook disagg -v 2 test_cursor13 -s 5
      [pid:3311]: Traceback (most recent call last):
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/wttest.py", line 243, in _callTestMethod
          method()
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/test_cursor13.py", line 260, in test_reopen
          self.basic_reopen(100, True, caching)
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/test_cursor13.py", line 232, in basic_reopen
          self.assert_cursor_reopened(caching_enabled and opens != 0)
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/test_cursor13.py", line 109, in assert_cursor_reopened
          self.assertEqual(stats[1], self.stat_cursor_reopen)
      AssertionError: 4 != 2
      
      
      
      $ python3 ../test/suite/run.py --hook disagg -v 2 test_cursor21 -s 3
      ...
      
      [pid:3464]: Traceback (most recent call last):
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/wttest.py", line 243, in _callTestMethod
          method()
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/test_cursor21.py", line 93, in test_cursor21
          reposition_count = self.check_reposition(reposition_count)
        File "/home/dda/wt/git/wt-15262-python-tests-stability-triage/test/suite/test_cursor21.py", line 69, in check_reposition
          self.assertGreater(count, 0)
      AssertionError: 0 not greater than 0
      

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: