From e507ed3bf00ada9d06e709ec7bf62cfe7664dba2 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 6 Dec 2018 00:06:25 -0800 Subject: IDK Signed-off-by: Lamont Granquist --- spec/functional/resource/apt_package_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1