20 Commits
Author SHA1 Message Date
andrew f403c78410 Add test that exercises "too large removal buffer" code 2024-11-14 16:40:47 -08:00
andrew 7fb408b466 Remove tailcall test
We no longer rely on tail call optimization happening where musttail is
not supported
2024-10-15 17:47:36 -07:00
andrew a1c61962a1 Workaround lack of musttail in gcc 2024-10-10 13:20:50 -07:00
andrew bc13094406 Don't violate precondition in test_conflict_set.py 2024-08-26 11:13:16 -07:00
andrew 1d9e8ab68b Add missing test coverage for fixupMaxVersion for Node256 2024-08-07 17:02:19 -07:00
andrew 6394995def Add a test where the "zero" bug causes an incorrect commit 2024-07-23 14:39:45 -07:00
andrew fb9f5ce6f4 Update InternalVersionT::zero in addWrite call
There can be other conflict sets in the same thread
2024-07-22 16:14:25 -07:00
andrew 3e6be6bd83 Allow write version to jump by more than 2e9 2024-07-03 09:07:09 -07:00
andrew a68ad5dd17 Interface change! Return TooOld after 2e9 versions
Event if setOldestVersion wasn't called
2024-06-30 15:28:51 -07:00
andrew 587874841f Fix test that had a decreasing write version 2024-06-28 19:57:25 -07:00
andrew b311e5f1f0 Add an experimental, disabled 32 bit internal version
I think it's only missing detection for full-precision versions more
than 2e9 apart
2024-06-28 15:53:35 -07:00
andrew 2c0adf4a8b Fix test-only bug in script test
Previously conflict_set.py only worked for checking one read conflict
per call
2024-06-25 19:20:19 -07:00
andrew d2e1863593 Account for every uncovered line in the implementation
Closes #23
2024-04-18 12:43:48 -07:00
andrew 76a45f16ad Exercise freelist size limiting code 2024-04-17 18:27:01 -07:00
andrew c15d296432 Exercise copyChildrenAndKeyFrom for Node{48,256} to itself 2024-04-17 17:13:22 -07:00
andrew 64a98c529c Fix conflict_set.py bug, and add full inner words test
Apparently all bytes were 0
2024-04-17 14:11:26 -07:00
andrew 309d315956 Add DebugConflictSet, which asserts using skip list as a reference
CC #23
2024-04-17 12:08:39 -07:00
andrew 717f9d6829 Remove ScriptTest.cpp, replace with test_conflict_set.py
CC #23
2024-04-17 12:08:08 -07:00
andrew 738de01cb4 Add getBytes to conflict_set.py 2024-04-08 17:33:51 -07:00
andrew 5cf45d1c35 Preliminary support for writing tests in python 2024-04-04 15:58:57 -07:00