diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-05 13:54:12 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-31 13:50:07 -0700 |
commit | 9c451e3e44c44fa716b0ffb188d487221b6d9f96 (patch) | |
tree | b945974accd1e91842ae4e0e822edc911a885970 | |
parent | 0c08fb5afd066b7ebf0c625e43bedc1e30c1b758 (diff) | |
download | chef-9c451e3e44c44fa716b0ffb188d487221b6d9f96.tar.gz |
add comment
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-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 5410d1941c..08a2c84e90 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 |