Ejemplo n.º 1
0
def __can_load_xvm_fence_agent():
    try:
        runner = CommandRunner(logging.getLogger("test"), ReportProcessor())
        StonithAgent(runner, "fence_xvm").validate_metadata()
        return True
    except:
        return False
Ejemplo n.º 2
0
 def tearDown(self):
     # pylint does not know this method is defined in TestCase
     # pylint: disable=invalid-name
     # pylint: disable=no-self-use
     StonithAgent.clear_fenced_metadata_cache()
Ejemplo n.º 3
0
 def tearDown(self):
     StonithAgent.clear_stonithd_metadata_cache()
Ejemplo n.º 4
0
 def tearDown(self):
     # pylint does not know this method is defined in TestCase
     # pylint: disable=invalid-name
     # pylint: disable=no-self-use
     StonithAgent.clear_fenced_metadata_cache()