summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2015-03-16 13:22:45 -0400
committerBryan McLellan <btm@loftninjas.org>2015-03-16 13:22:45 -0400
commit82cbd75eca16e9182a6cef689cf8de981ba9c25f (patch)
tree497965dd45869125dc7292b70c01f308622f4cb3
parent768d6dfb6b1f80d52b211c160f27604ccc5b844d (diff)
downloadchef-btm/disable_exit3_test.tar.gz
Disable the exitstatus 3 testbtm/disable_exit3_test
This relies on a timer and even though we increased it in #3039 we've still seen intermittent failures from it. Mark it volatile and move on.
-rw-r--r--spec/unit/application/client_spec.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb
index b4445a9ff9..501251b7fe 100644
--- a/spec/unit/application/client_spec.rb
+++ b/spec/unit/application/client_spec.rb
@@ -305,10 +305,7 @@ describe Chef::Application::Client, "run_application", :unix_only do
allow(Chef::Daemon).to receive(:daemonize).and_return(true)
end
- # In ChefDK builds this sometimes fails from `chef verify`. If the test
- # begins to fail for normal chef builds, change it to :volatile completely
- # https://github.com/chef/chef/pull/3039
- it "should exit hard with exitstatus 3", :volatile_from_verify do
+ it "should exit hard with exitstatus 3", :volatile do
pid = fork do
@app.run_application
end