MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / run_complex_structure_test

Function run_complex_structure_test

python/tests/fuzz_test.py:489–502  ·  view source on GitHub ↗

Run a test specifically designed to stress complex tree structures

()

Source from the content-addressed store, hash-verified

487
488
489def run_complex_structure_test():
490 """Run a test specifically designed to stress complex tree structures"""
491 # Increase recursion limit for deep trees
492 import sys
493
494 old_limit = sys.getrecursionlimit()
495 try:
496 sys.setrecursionlimit(5000)
497 tester = BPlusTreeFuzzTester(
498 capacity=3, prepopulate=1000
499 ) # Reduced to avoid recursion issues
500 return tester.run_fuzz_test(50000)
501 finally:
502 sys.setrecursionlimit(old_limit)
503
504
505def run_varied_capacity_tests():

Callers 1

fuzz_test.pyFile · 0.85

Calls 2

run_fuzz_testMethod · 0.95
BPlusTreeFuzzTesterClass · 0.85

Tested by

no test coverage detected