X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/c68d1f43a746ea44bc1b92ae074ba1a409d60fa9..2ee88aeb76a2430ec0c7f86629bf66cfd0b6f564:/qa/qa_env.py diff --git a/qa/qa_env.py b/qa/qa_env.py index 540363d..3b1a761 100644 --- a/qa/qa_env.py +++ b/qa/qa_env.py @@ -31,7 +31,6 @@ import qa_utils from qa_utils import AssertEqual, StartSSH -@qa_utils.DefineHook('env-ssh-connection') def TestSshConnection(): """Test SSH connection. @@ -40,17 +39,20 @@ def TestSshConnection(): AssertEqual(StartSSH(node['primary'], 'exit').wait(), 0) -@qa_utils.DefineHook('env-ganeti-commands') def TestGanetiCommands(): """Test availibility of Ganeti commands. """ - cmds = ( ['gnt-cluster', '--version'], - ['gnt-os', '--version'], - ['gnt-node', '--version'], + cmds = ( ['gnt-backup', '--version'], + ['gnt-cluster', '--version'], + ['gnt-debug', '--version'], ['gnt-instance', '--version'], - ['gnt-backup', '--version'], + ['gnt-job', '--version'], + ['gnt-node', '--version'], + ['gnt-os', '--version'], + ['ganeti-masterd', '--version'], ['ganeti-noded', '--version'], + ['ganeti-rapi', '--version'], ['ganeti-watcher', '--version'] ) cmd = ' && '.join([utils.ShellQuoteArgs(i) for i in cmds]) @@ -59,7 +61,6 @@ def TestGanetiCommands(): AssertEqual(StartSSH(node['primary'], cmd).wait(), 0) -@qa_utils.DefineHook('env-icmp-ping') def TestIcmpPing(): """ICMP ping each node.