Skip to content

Commit

Permalink
Remove bogus test
Browse files Browse the repository at this point in the history
The code that kill the tread was removed in
ee1dec6 (#186).  The broken test suite
did not allow to see that a matching test had to be removed.
  • Loading branch information
smortex committed Jul 3, 2024
1 parent ddb1b91 commit 168055d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/unit/mcollective/shell_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,6 @@ module MCollective
Log.expects(:warn).with("Could not reap process '1234'.")
s.runcommand
end

it "should kill the guard thread when the process returns" do
s = Shell.new("echo hello world")
Thread.stubs(:current)
s.expects(:systemu).returns(@systemu)
result = s.runcommand
expect(result).to eq(@systemu)
end
end
end
end

0 comments on commit 168055d

Please sign in to comment.