diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-05 13:54:12 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-05 13:54:12 -0800 |
commit | 5f2f7f35aa00816181714ee35f4792b3e786f749 (patch) | |
tree | a1a8a011ad0d04dbb11b436e839692117d5d55a5 /spec/functional | |
parent | ff34a09183fdb7dd5a66d75ad90666394bdff55e (diff) | |
download | chef-5f2f7f35aa00816181714ee35f4792b3e786f749.tar.gz |
add comment
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/run_lock_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/functional/run_lock_spec.rb b/spec/functional/run_lock_spec.rb index f11fa5324c..eecdbbe6c8 100644 --- a/spec/functional/run_lock_spec.rb +++ b/spec/functional/run_lock_spec.rb @@ -404,6 +404,8 @@ describe Chef::RunLock do example.log_event("#{name}.stop finished (pid #{pid} wasn't running)") end end + + # close the IO.pipes so we don't leak them as open filehandles @read_from_process.close rescue nil @write_to_tests.close rescue nil @read_from_tests.close rescue nil |