GroveEngine/tests
StillHammer aa322d5214 fix: Correct hot-reload version validation in race condition test
Fixed critical bug where moduleVersion was being overwritten during
setConfiguration(), preventing proper hot-reload validation.

## Problem
- TestModule::setConfiguration() called configNode.getString("version")
- This overwrote the compiled moduleVersion (v2, v3, etc.) back to "v1"
- All reloads appeared successful but versions never actually changed
- Test validated thread safety but NOT actual hot-reload functionality

## Solution
- Removed moduleVersion overwrite from setConfiguration()
- moduleVersion now preserved as global compiled into .so
- Added clear comments explaining this is a compile-time value
- Simplified test configuration (no longer passes version param)

## Test Results (After Fix)
 15/15 compilations (100%)
 29/29 reloads (100%)
 Versions actually change: v1 → v2 → v5 → v14 → v15
 0 corruptions
 0 crashes
 330ms avg reload time (file stability check working)
 Test now validates REAL hot-reload, not just thread safety

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 13:21:57 +08:00
..
helpers feat: Add Scenario 4 - Race Condition Hunter test suite 2025-11-15 10:55:44 +08:00
hotreload feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
integration fix: Correct hot-reload version validation in race condition test 2025-11-15 13:21:57 +08:00
modules fix: Correct hot-reload version validation in race condition test 2025-11-15 13:21:57 +08:00
CMakeLists.txt feat: Add Scenario 4 - Race Condition Hunter test suite 2025-11-15 10:55:44 +08:00