puppetlabs / puppetlabs-pe_status_check

Self Service Module for Puppet Enterprise
Apache License 2.0
1 stars 33 forks source link

fix: prevent random failures in agent_status_check #244

Open vchepkov opened 5 hours ago

vchepkov commented 5 hours ago

The list of files in /proc/[0-9]*/cmdline can change as processes start or terminate between the Dir.glob and File.read operations

Please check off the steps below as you complete each step

vchepkov commented 5 hours ago

fixes #243

vchepkov commented 2 hours ago

I don't think my change caused tests failures, seems like "pre-existing condition"