Revision ed54b47e qa/qa_env.py
b/qa/qa_env.py | ||
---|---|---|
31 | 31 |
from qa_utils import AssertEqual, StartSSH |
32 | 32 |
|
33 | 33 |
|
34 |
@qa_utils.DefineHook('env-ssh-connection') |
|
35 | 34 |
def TestSshConnection(): |
36 | 35 |
"""Test SSH connection. |
37 | 36 |
|
... | ... | |
40 | 39 |
AssertEqual(StartSSH(node['primary'], 'exit').wait(), 0) |
41 | 40 |
|
42 | 41 |
|
43 |
@qa_utils.DefineHook('env-ganeti-commands') |
|
44 | 42 |
def TestGanetiCommands(): |
45 | 43 |
"""Test availibility of Ganeti commands. |
46 | 44 |
|
... | ... | |
59 | 57 |
AssertEqual(StartSSH(node['primary'], cmd).wait(), 0) |
60 | 58 |
|
61 | 59 |
|
62 |
@qa_utils.DefineHook('env-icmp-ping') |
|
63 | 60 |
def TestIcmpPing(): |
64 | 61 |
"""ICMP ping each node. |
65 | 62 |
|
Also available in: Unified diff