[chef] test-kitchen and multiple converges


Chronological Thread 
  • From: Greg Symons < >
  • To: < >
  • Subject: [chef] test-kitchen and multiple converges
  • Date: Tue, 22 Oct 2013 13:45:53 -0500
  • Organization: DrillingInfo, Inc

Ohai, Chefs!

I'm trying to set up a test in test-kitchen to verify the idempotency of one of my resource providers. Has anybody else come up with a way to 1) converge multiple times in a test-kitchen suite and 2) after a second converge verify that nothing has changed (or at the very least none of the things that potentially could've changed if the recipe wasn't idempotent)? I tried testing this in chefspec, but unfortunately it looks like I need a real chef run to expose my idempotency bug.

Thanks,

Greg



Archive powered by MHonArc 2.6.16.

§