This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".
The branch, master has been updated
via 1be35bef87093f0f9142b573d51fa116abe101ab (commit)
via a0c3e7264aad583e956c1608bdc62a634b971f36 (commit)
from 79ac58fa1be8fe2ce30f237295e19b011e80e0e9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1be35bef87093f0f9142b573d51fa116abe101ab
Author: Michael Hanselmann <han...@google.com>
Date: Thu Apr 26 19:57:29 2012 +0200
QA: Fix shutdown for reinstall/rename tests
The “RunTestIf” uses an AND association between the passed test names,
so the instance would be be shut down if both rename and reinstall were
enabled. Since this is not necessarily the case, OR must be used.
Signed-off-by: Michael Hanselmann <han...@google.com>
Reviewed-by: Iustin Pop <ius...@google.com>
commit a0c3e7264aad583e956c1608bdc62a634b971f36
Author: Michael Hanselmann <han...@google.com>
Date: Thu Apr 26 19:35:46 2012 +0200
QA: Enable use of OR conditions in test checks
Until now “TestRunIf” and “TestEnabled” could only handle AND. With this
patch a new class named “Either” is added to “qa_config” and allows OR.
The name “Either” was chosen instead of “Or” as the latter is very close
to the reserved keyword “or”.
Examples:
["rapi", Either(["instance-rename", "instance-reboot"])]
Either(["node-list", "instance-list", "job-list"])
Signed-off-by: Michael Hanselmann <han...@google.com>
Reviewed-by: Iustin Pop <ius...@google.com>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 2 +
autotools/run-in-tempdir | 2 +-
qa/ganeti-qa.py | 7 ++-
qa/qa_config.py | 71 +++++++++++++++++++--
test/qa.qa_config_unittest.py | 137 +++++++++++++++++++++++++++++++++++++++++
5 files changed, 210 insertions(+), 9 deletions(-)
create mode 100755 test/qa.qa_config_unittest.py
hooks/post-receive
--
Ganeti core