Revision e42b5307 qa/qa_cluster.py

b/qa/qa_cluster.py
51 51
                content)
52 52

  
53 53

  
54
@qa_utils.DefineHook('cluster-init')
54 55
def TestClusterInit():
55 56
  """gnt-cluster init"""
56 57
  master = qa_config.GetMasterNode()
......
71 72
                       utils.ShellQuoteArgs(cmd)).wait(), 0)
72 73

  
73 74

  
75
@qa_utils.DefineHook('cluster-verify')
74 76
def TestClusterVerify():
75 77
  """gnt-cluster verify"""
76 78
  master = qa_config.GetMasterNode()
......
80 82
                       utils.ShellQuoteArgs(cmd)).wait(), 0)
81 83

  
82 84

  
85
@qa_utils.DefineHook('cluster-info')
83 86
def TestClusterInfo():
84 87
  """gnt-cluster info"""
85 88
  master = qa_config.GetMasterNode()
......
89 92
                       utils.ShellQuoteArgs(cmd)).wait(), 0)
90 93

  
91 94

  
95
@qa_utils.DefineHook('cluster-getmaster')
92 96
def TestClusterGetmaster():
93 97
  """gnt-cluster getmaster"""
94 98
  master = qa_config.GetMasterNode()
......
98 102
                       utils.ShellQuoteArgs(cmd)).wait(), 0)
99 103

  
100 104

  
105
@qa_utils.DefineHook('cluster-version')
101 106
def TestClusterVersion():
102 107
  """gnt-cluster version"""
103 108
  master = qa_config.GetMasterNode()
......
107 112
                       utils.ShellQuoteArgs(cmd)).wait(), 0)
108 113

  
109 114

  
115
@qa_utils.DefineHook('cluster-burnin')
110 116
def TestClusterBurnin():
111 117
  """Burnin"""
112 118
  master = qa_config.GetMasterNode()
......
143 149
      qa_config.ReleaseInstance(inst)
144 150

  
145 151

  
152
@qa_utils.DefineHook('cluster-master-failover')
146 153
def TestClusterMasterFailover():
147 154
  """gnt-cluster masterfailover"""
148 155
  master = qa_config.GetMasterNode()
......
160 167
    qa_config.ReleaseNode(failovermaster)
161 168

  
162 169

  
170
@qa_utils.DefineHook('cluster-copyfile')
163 171
def TestClusterCopyfile():
164 172
  """gnt-cluster copyfile"""
165 173
  master = qa_config.GetMasterNode()
......
184 192
    _RemoveFileFromAllNodes(testname)
185 193

  
186 194

  
195
@qa_utils.DefineHook('cluster-command')
187 196
def TestClusterCommand():
188 197
  """gnt-cluster command"""
189 198
  master = qa_config.GetMasterNode()
......
201 210
    _RemoveFileFromAllNodes(rfile)
202 211

  
203 212

  
213
@qa_utils.DefineHook('cluster-destroy')
204 214
def TestClusterDestroy():
205 215
  """gnt-cluster destroy"""
206 216
  master = qa_config.GetMasterNode()

Also available in: Unified diff