Am 21.01.2013 um 13:02 schrieb Ulrich Windl: > IMHO it does not make sense to "test" an OCF agent without > performing the actions it would normally perform.
These actions need to be simulated by stubs or mocks. If not it will be an integration test, i.e. testing the whole system with lower chance to locate a fault. > Maybe if you want to test a resource that's already configured, you > might wnat to do your tests by scripting using "crm resource ...". I need to test the side-effect of an *unconfigured* resource. If a unit-test needs too much time, I will install two test-machines. Helmut Wollmersdorfer _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
