basho/riak_nagios — pull request #24 by dreverri (2012-09-18 16:36:56+00:00)
Title: Add tests

This pull request introduces a dependency on an eunit_helper repository which I've found useful for writing EUnit tests with setup and cleanup functions. The tests could be rewritten without the helper if there are concerns about the added dependency.

This pull request also introduces additional checks for node connect failures. Specifically it will check the validity of the cookie file if net_kernel:start/1 fails.