X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/cec9845cb50cd5a76b3f8421895ee52684ae4d5c..1322c6975c972fdf53b22f950d051ea80bbe1087:/qa/qa_env.py diff --git a/qa/qa_env.py b/qa/qa_env.py index 266fb11..540363d 100644 --- a/qa/qa_env.py +++ b/qa/qa_env.py @@ -1,3 +1,6 @@ +# +# + # Copyright (C) 2007 Google Inc. # # This program is free software; you can redistribute it and/or modify @@ -23,10 +26,12 @@ from ganeti import utils import qa_config +import qa_utils from qa_utils import AssertEqual, StartSSH +@qa_utils.DefineHook('env-ssh-connection') def TestSshConnection(): """Test SSH connection. @@ -35,6 +40,7 @@ def TestSshConnection(): AssertEqual(StartSSH(node['primary'], 'exit').wait(), 0) +@qa_utils.DefineHook('env-ganeti-commands') def TestGanetiCommands(): """Test availibility of Ganeti commands. @@ -53,6 +59,7 @@ def TestGanetiCommands(): AssertEqual(StartSSH(node['primary'], cmd).wait(), 0) +@qa_utils.DefineHook('env-icmp-ping') def TestIcmpPing(): """ICMP ping each node.