X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/9b3939eaf061d11b681aae999bed18ae564ac9c4..560428be4f5852813972cd2791f425cf708ca7c6:/qa/qa_daemon.py diff --git a/qa/qa_daemon.py b/qa/qa_daemon.py index 7223068..4817bfe 100644 --- a/qa/qa_daemon.py +++ b/qa/qa_daemon.py @@ -1,3 +1,6 @@ +# +# + # Copyright (C) 2007 Google Inc. # # This program is free software; you can redistribute it and/or modify @@ -95,13 +98,12 @@ def PrintCronWarning(): """Shows a warning about the cron job. """ - msg = ("For the following tests it's recommended to turn off the " - "ganeti-watcher cronjob.") + msg = ("For the following tests it's recommended to turn off the" + " ganeti-watcher cronjob.") print print qa_utils.FormatWarning(msg) -@qa_utils.DefineHook('daemon-automatic-restart') def TestInstanceAutomaticRestart(node, instance): """Test automatic restart of instance by ganeti-watcher. @@ -123,7 +125,6 @@ def TestInstanceAutomaticRestart(node, instance): utils.ShellQuoteArgs(cmd)).wait(), 0) -@qa_utils.DefineHook('daemon-consecutive-failures') def TestInstanceConsecutiveFailures(node, instance): """Test five consecutive instance failures.