Multi-Machine Testing


#1

Hi,

We’ve been using Chefspec for unit testing, and Serverspec for “integration” testing (and test-kitchen to run our serverspec tests).

I’m wondering if there are any good tools for multi-machine testing. For example, the nagios cookbook relies heavily on discovering other nodes within an environment.

Outside of bootstrapping multiple nodes in a test environment, I’m not sure the best practice for this testing. Is this something that can be done via test-kitchen? Or even a good workflow with vagrant?

Thanks,
Curtis


#2

Hey,

Curtis Stewart cstewart@momentumsi.com writes:

Hi,

We’ve been using Chefspec for unit testing, and Serverspec for “integration” testing (and test-kitchen to run our serverspec tests).

I’m wondering if there are any good tools for multi-machine testing.
For example, the nagios cookbook relies heavily on discovering other
nodes within an environment.

Outside of bootstrapping multiple nodes in a test environment, I’m not
sure the best practice for this testing. Is this something that can
be done via test-kitchen? Or even a good workflow with vagrant?

Multi-node or cluster testing is one of the things Vagabond was designed
for[0]. Chris did an intro to Vagabond at DevOpsDays PDX a few months
back[1]. Hope that helps.

[0] https://github.com/chrisroberts/vagabond/tree/develop
[1] http://vimeo.com/79388549


-sean