You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add unit test coverage for worker managers (Statistics/Serialization/Pause) #4835
Add a focused WorkerManagersSpec covering the worker-side state managers under amber/.../worker and amber/.../worker/managers:
StatisticsManager — defaults, per-port input/output count+size accumulation, negative-size rejection, processing-time accumulation, idleTime = total - data - control, current-time-before-start rejection
SerializationManager.registerSerialization / applySerialization — no-op without callback, single-fire then clear, latest-overwrites-previous
PauseManager — initial isPaused, global pause disables all data channels (control channels untouched), resume reactivates when no pauses remain, multi-pause aggregation (resume keeps paused if other global pause active), specific-channel pause/resume layered with global pauses
EmbeddedControlMessageManager is intentionally not covered here — it requires the full InputManager + ECM infrastructure and is best exercised by an integration test.
changed the title [-]test(amber): add unit test coverage for worker managers (Statistics/Serialization/Pause)[/-][+]add unit test coverage for worker managers (Statistics/Serialization/Pause)[/+]on May 3, 2026
Activity
[-]test(amber): add unit test coverage for worker managers (Statistics/Serialization/Pause)[/-][+]add unit test coverage for worker managers (Statistics/Serialization/Pause)[/+]test(amber): add unit test coverage for worker managers (Statistics/S…
test(amber): add unit test coverage for worker managers (Statistics/S…