yao/agent/robot/trigger
Max 12386ddb8b Refactor Cache Auto-Refresh Tests for Stability and Clarity
- Updated the auto-refresh tests in cache_test.go to utilize fresh cache instances for each test, ensuring isolation and reliability.
- Improved assertions to verify cache stability after stopping auto-refresh and confirmed that multiple start calls replace previous ones without leaking goroutines.
- Added tests to check for safe behavior during rapid start/stop cycles and ensured that stopping without starting does not cause panics.
- Enhanced overall test coverage and clarity, contributing to better maintainability and understanding of the cache's auto-refresh functionality.
2026-01-15 11:00:28 +08:00
..
clock.go Enhance Manager and Trigger Functionality 2026-01-15 10:43:44 +08:00
clock_test.go Enhance Manager and Trigger Functionality 2026-01-15 10:43:44 +08:00
control.go Refactor Cache Auto-Refresh Tests for Stability and Clarity 2026-01-15 11:00:28 +08:00
control_test.go Refactor Cache Auto-Refresh Tests for Stability and Clarity 2026-01-15 11:00:28 +08:00
trigger.go Enhance Manager and Trigger Functionality 2026-01-15 10:43:44 +08:00
trigger_test.go Enhance Manager and Trigger Functionality 2026-01-15 10:43:44 +08:00