-
Type:
Task
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Disagg CI-blocker, Test Python, Transactions
-
Storage Engines - Transactions
-
None
-
None
There is a test failure in `test_prepare03.py` when run with the disagg hook:
$ python3 ../test/suite/run.py --hook disagg -v 2 test_prepare03 -s 3 [pid:554744]: Traceback (most recent call last): File "/home/ubuntu/wiredtiger/test/suite/wttest.py", line 161, in wrapper return func(self, *args, **kwargs) File "/home/ubuntu/wiredtiger/test/suite/wttest.py", line 309, in _callTestMethod method() File "/home/ubuntu/wiredtiger/test/suite/test_prepare03.py", line 80, in test_prepare_cursor self.assertEqual(cursor.uri, tablearg) AssertionError: 'layered:test_prepare_cursor' != 'table:test_prepare_cursor'
The issue here is that the hook substitutes the layered: prefix into the uri during self.session.create, but the local tablearg variable is based on the original table: prefixed uri.
We should skip this assertEqual when running the disagg hook, like we do in test_cursor01.py:
if not self.runningHook('disagg'): self.assertEqual(cursor.uri, tablearg)
- backported by
-
WT-14785 Disagg python testing: triage test_prepare*.py tests
-
- Closed
-