Add fixtures and unit tests for auto suspend functionality
- Introduced fixture files for AMD and NVIDIA GPU monitoring outputs, CPU usage statistics, and user sessions. - Created a comprehensive unit test suite for the auto_suspend module, covering state management, CPU and GPU measurement, user activity detection, and evaluation logic. - Updated Ansible tasks to install Python instead of bc, create necessary directories and log files, and ensure proper SELinux context for the auto suspend script. - Modified the systemd service and timer configurations to improve the auto suspend functionality, including command-line arguments for the Python script.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
provision sshd 2026-06-08 21:37 (10.19.4.203)
|
||||
provision sshd pts/0 2026-06-06 19:05 (10.19.4.203)
|
||||
Reference in New Issue
Block a user