Hi!

IMHO it does not make sense to "test" an OCF agent without performing the 
actions it would normally perform.

Maybe if you want to test a resource that's already configured, you might wnat 
to do your tests by scripting using "crm resource ...".

Regards,
Ulrich

>>> Helmut Wollmersdorfer <[email protected]> schrieb am 
>>> 21.01.2013
um 11:59 in Nachricht <[email protected]>:
> Am 18.01.2013 um 10:24 schrieb Lars Marowsky-Bree:
> 
> >
> > ocf-tester.
> 
> Thx for the info.
> 
> But there is a warning in 
> http://www.linux-ha.org/doc/dev-guides/_testing_resource_agents.html 
> 
> ----quote----
> Important
> ocf-tester does not initiate "dry runs" of actions, nor does it create  
> resource dummies of any kind. Instead, it exercises the actual  
> resource agent as-is, whether that may include opening and closing  
> databases, mounting file systems, starting or stopping virtual  
> machines, etc. Use with care.
> 
> ----end of quote----
> 
> What's about ocft?
> 
> http://www.linux-ha.org/doc/dev-guides/_testing_with_literal_ocft_literal.html
>  
> 
> 
> 
> Should I give it a try for automated tests of the DRBD-RA? I couldn't  
> find automated tests for it in http://git.drbd.org, and I would like  
> to reproduce an unforeseen side-effect.
> 
> 
> 
> Helmut Wollmersdorfer
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected] 
> http://lists.linux-ha.org/mailman/listinfo/linux-ha 
> See also: http://linux-ha.org/ReportingProblems 
> 

 
 

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to