mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-04 23:09:34 +00:00
TestInstallSHRecoversV5ProcessArgsWithoutProcfs stubs the running agent as pid 4242 and stubs ps, but running_agent_arg_stream reads /proc/<pid>/cmdline whenever it exists and only falls back to ps when it does not. On a Linux runner where pid 4242 happened to belong to another process, recovery parsed that process's arguments and the test failed with NOT_READY (seen in Backend tests rest-1). It never failed on macOS, which has no /proc. Wrap the real function so this test always resolves against an empty proc root, which is the no-procfs host it describes. Also extract the env-stream helper it was calling without, and fail on NOT_READY directly since "READY" is a substring of it and never caught a failed recovery. |
||
|---|---|---|
| .. | ||
| testdata | ||
| windowslifecycleserver | ||
| agent_id_recovery_unix_test.go | ||
| agent_state_dir_lifecycle_test.go | ||
| backfill_release_assets_test.go | ||
| build_release_assets_test.go | ||
| container_dependency_contract_test.go | ||
| dependency_update_test.go | ||
| docker_entrypoint_test.go | ||
| install_docker_sh_test.go | ||
| install_mcp_test.go | ||
| install_ps1_test.go | ||
| install_sh_qnap_data_volume_test.go | ||
| install_sh_test.go | ||
| integration_container_test.go | ||
| native_pve_action_qualification_test.go | ||
| provider_msp_deploy_test.go | ||
| pulse_auto_update_test.go | ||
| release_ldflags_test.go | ||
| root_install_sh_test.go | ||
| safe_profile_migration_test.go | ||
| secure_runtime_platform_matrix_test.go | ||
| secure_runtime_rootful_qualification_test.go | ||
| secure_runtime_rootless_qualification_test.go | ||
| secure_runtime_systemd_lab_test.go | ||
| umask_unix_test.go | ||
| uninstall_sensor_proxy_test.go | ||
| windows_agent_lifecycle.ps1 | ||