Changeset 4ceca57 in flexoentity for tests/test_id_stress.py
- Timestamp:
- 10/23/25 14:50:45 (3 months ago)
- Branches:
- master
- Children:
- 33be5a0
- Parents:
- 02d288d
- File:
-
- 1 edited
-
tests/test_id_stress.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/test_id_stress.py
r02d288d r4ceca57 14 14 def test_bulk_generation_uniqueness(domain): 15 15 """ 16 Generate 10 ,000 IDs and ensure uniqueness using safe_generate().16 Generate 100,000 IDs and ensure uniqueness using safe_generate(). 17 17 If a collision occurs, safe_generate() must resolve it automatically 18 18 via salt + date adjustment. … … 20 20 etype = EntityType.QUESTION 21 21 estate = EntityState.DRAFT 22 seeds = [f"question {i}" for i in range( 4000000)]22 seeds = [f"question {i}" for i in range(100000)] 23 23 24 24 # Simulate a simple in-memory repository for collision detection
Note:
See TracChangeset
for help on using the changeset viewer.
