[Pkg-ganeti-devel] [ganeti] 79/165: Remove tests based on a wrong assumption

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Aug 11 13:53:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository ganeti.

commit 1197e08e6d523f9fcbf7ba2db4c6eded9927d906
Author: Klaus Aehlig <aehlig at google.com>
Date:   Mon Mar 16 18:01:06 2015 +0100

    Remove tests based on a wrong assumption
    
    These tests are based on the wrong assumption that
    iteratively taking the most balanced position for the
    next instance will result in a balanced cluster. See
    the discussion on issue 509 for more details.
    
    Signed-off-by: Klaus Aehlig <aehlig at google.com>
    Reviewed-by: Petr Pudlak <pudlak at google.com>
---
 test/hs/shelltests/htools-single-group.test | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/test/hs/shelltests/htools-single-group.test b/test/hs/shelltests/htools-single-group.test
index f8e629c..254989c 100644
--- a/test/hs/shelltests/htools-single-group.test
+++ b/test/hs/shelltests/htools-single-group.test
@@ -5,12 +5,6 @@
 ./test/hs/hbal  -v -v -p --print-instances -t$T/simu-onegroup.standard
 >>>= 0
 
-# hbal should not be able to balance
-./test/hs/hbal -t$T/simu-onegroup.standard
->>> /(Nothing to do, exiting|No solution found)/
->>>= 0
-
-
 # tiered single-group tests
 ./test/hs/hinfo -v -v -p --print-instances -t$T/simu-onegroup.tiered
 >>>= 0
@@ -18,11 +12,6 @@
 ./test/hs/hbal  -v -v -p --print-instances -t$T/simu-onegroup.tiered
 >>>= 0
 
-# hbal should not be able to balance
-./test/hs/hbal -t$T/simu-onegroup.tiered
->>> /(Nothing to do, exiting|No solution found)/
->>>= 0
-
 # hcheck should not find reason to rebalance
 ./test/hs/hcheck -t$T/simu-onegroup.tiered --machine-readable
 >>> /HCHECK_INIT_CLUSTER_NEED_REBALANCE=0/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git



More information about the Pkg-ganeti-devel mailing list