summaryrefslogtreecommitdiff
path: root/spec/unit/application
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2022-03-21 20:18:18 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2022-03-21 20:18:18 -0700
commit5e1179214e3bafbf225decea29db23598d4b336b (patch)
treea7dc76b446531f1aba9ad0e5f77157cdaa51ef47 /spec/unit/application
parent692e2e4fa537e1b05a1bc60b03d5c96cfec9f6b8 (diff)
downloadchef-5e1179214e3bafbf225decea29db23598d4b336b.tar.gz
remove useless test
this is testing ruby responding to a kill TERM not testing chef-client at all. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/application')
-rw-r--r--spec/unit/application/client_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb
index 6977e4f108..06eb591b62 100644
--- a/spec/unit/application/client_spec.rb
+++ b/spec/unit/application/client_spec.rb
@@ -564,16 +564,6 @@ describe Chef::Application::Client, "run_application", :unix_only do
expect(IO.select([@pipe[0]], nil, nil, 0)).not_to be_nil
expect(@pipe[0].gets).to eq("finished\n")
end
-
- it "should exit hard when sent before converge" do
- pid = fork do
- sleep 3
- @app.run_application
- end
- Process.kill("TERM", pid)
- _pid, result = Process.waitpid2(pid)
- expect(result.exitstatus).to eq(3)
- end
end
end