diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-12-06 00:06:25 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-12-06 00:06:25 -0800 |
commit | e507ed3bf00ada9d06e709ec7bf62cfe7664dba2 (patch) | |
tree | 3e9fdf637b820cf7aec4c9f31bc7cae5b0bcc014 | |
parent | 608badc35558b68bcfae75febd616e2d47a0438d (diff) | |
download | chef-lcg/functest-apt-update-failure-behavior.tar.gz |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/functional/resource/apt_package_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/apt_package_spec.rb b/spec/functional/resource/apt_package_spec.rb index 2e0f6f498a..1d5e4e7e9f 100644 --- a/spec/functional/resource/apt_package_spec.rb +++ b/spec/functional/resource/apt_package_spec.rb @@ -89,7 +89,7 @@ module AptServer raise "apt server failed to start" end end - rescue Mixlib::ShellOut::ShellCommandFailed + rescue # if the apt-get update fails, then this before will run on every example until # it succeeds (turning it into before(:each)). we have been seeing rate liming problems # which this behavior only makes worse. so we only want to fail the first time, and |