[chef] Re: Re: Minitest-handler cookbook issue


Chronological Thread 
  • From: Sachin Sagar Rai < >
  • To:
  • Subject: [chef] Re: Re: Minitest-handler cookbook issue
  • Date: Tue, 9 Oct 2012 23:54:27 +0545

Thanks for the reply.

But still wondering where to put that 'ignore on failure' line? In tests?

Where to put it exactly?

-------------------------------------------
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow

On Tuesday, October 9, 2012 at 11:41 PM, steve . wrote:

The minitest handler doesn't know you don't have tests written for
those cookbooks. It's looping through all of the cookbooks for the
recipes in the node's current run list and attempting to pull down
test and support directories from all of them. These resources should
be set to "ignore on failure," so it shouldn't cause your Chef run to
bomb out if they're not there.

At the end of the run, the handler will load all of the tests that
*did* make it to the node and run them. If any of those tests fail,
it will flag your run as failed and your exception handlers will then
run.

If you find the behavior of the handler unsatisfying and find a better
way to pull down tests from all cookbooks, I'm sure the maintainers of
the minitest handler would love to see your improvement in the form of
a pull request!

On Mon, Oct 8, 2012 at 11:51 PM, Sachin Sagar Rai < "> > wrote:
Ohai Chefs!

I gave a shot on doing integration testing with the minitest-handler
cookbook.
But it bit me on the first run.
Can anyone testing chef have a few mins on this issue

-------------------------------------------
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
Sent with Sparrow




Archive powered by MHonArc 2.6.16.

§