diff --git a/qa/qa-sample.json b/qa/qa-sample.json index dc033acc32bf4ae8184b33dd4ba7b4a82136a1dd..25d061e3cfaa4781e0967b573996e92009da98fb 100644 --- a/qa/qa-sample.json +++ b/qa/qa-sample.json @@ -96,6 +96,7 @@ "cluster-repair-disk-sizes": true, "haskell-confd": true, + "htools": true, "group-list": true, "group-rwops": true, diff --git a/qa/qa_group.py b/qa/qa_group.py index 2adc6207415d4e0e36f52011c421c156a11b1dc4..b72ff02978552b5e3f0a92cf74fac615794d67fc 100644 --- a/qa/qa_group.py +++ b/qa/qa_group.py @@ -1,7 +1,7 @@ # # -# Copyright (C) 2010, 2011 Google Inc. +# Copyright (C) 2010, 2011, 2012 Google Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -103,6 +103,12 @@ def TestGroupModify(): "min=%s,max=%s,std=0" % (min_v, max_v), group1], fail=True) AssertCommand(["gnt-group", "modify", "--specs-mem-size", "min=%s,max=%s" % (min_v, max_v), group1]) + AssertCommand(["gnt-group", "modify", + "--node-parameters", "spindle_count=10", group1]) + if qa_config.TestEnabled("htools"): + AssertCommand(["hbal", "-L", "-G", group1]) + AssertCommand(["gnt-group", "modify", + "--node-parameters", "spindle_count=default", group1]) finally: AssertCommand(["gnt-group", "remove", group1])