diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-03-05 13:54:12 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-16 13:03:35 -0700 |
commit | 047fa5cdbf86e7ed07be71257af1e1a75a51e218 (patch) | |
tree | 946c88e5222182a098b86ccc754866196aa15e1f | |
parent | f893e97b4aded32b0f60dd6416d60072483bf3c8 (diff) | |
download | chef-047fa5cdbf86e7ed07be71257af1e1a75a51e218.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 |