summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2016-04-01 12:41:54 +0530
committerKaushal M <kaushal@redhat.com>2016-04-01 12:45:51 +0530
commit34a7b3435af90e1e175fde31f61755d6fabda7ef (patch)
tree879ddf5b65fc83f2d69f3744a0b68fe7f8827bd7 /tests/bugs
parent5560961e5188c6b8f4b09d57245513a8f9612ff4 (diff)
Revert "cluster/ec: Rebalance hangs during rename"
This reverts commit 3d34c495d547866a533bc0614b14163381830095, which broke building rpms and possibly other packages as well. Change-Id: I2c10a613599e63bc0cbdb1b405cd87be9efa4a99
Diffstat (limited to 'tests/bugs')
-rwxr-xr-xtests/bugs/disperse/bug-1304988.t40
-rw-r--r--[-rwxr-xr-x]tests/bugs/replicate/bug-921231.t0
2 files changed, 0 insertions, 40 deletions
diff --git a/tests/bugs/disperse/bug-1304988.t b/tests/bugs/disperse/bug-1304988.t
deleted file mode 100755
index 1a81dccdeae..00000000000
--- a/tests/bugs/disperse/bug-1304988.t
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. $(dirname $0)/../../include.rc
-. $(dirname $0)/../../volume.rc
-
-# This test renames files from dir to test and vice versa in an infinite loop
-# at the same time add-brick and rebalance starts which should NOT be hanged
-
-cleanup;
-
-function rename_files {
-while :
-do
- for i in {1..100}; do mv $M0/dir/file-$i $M0/test/newfile-$i; done
- for i in {1..100}; do mv $M0/test/newfile-$i $M0/dir/file-$i; done
-done
-}
-
-TEST glusterd
-TEST pidof glusterd
-TEST $CLI volume create $V0 disperse 6 redundancy 2 $H0:$B0/${V0}{0..5}
-TEST $CLI volume start $V0
-TEST glusterfs --entry-timeout=0 --attribute-timeout=0 -s $H0 --volfile-id $V0 $M0
-EXPECT_WITHIN $CHILD_UP_TIMEOUT "6" ec_child_up_count $V0 0
-
-mkdir $M0/dir
-mkdir $M0/test
-touch $M0/dir/file-{1..100}
-rename_files &
-back_pid1=$!;
-echo "Started rename $back_pid1"
-
-TEST $CLI volume add-brick $V0 $H0:$B0/${V0}{6..11}
-TEST $CLI volume rebalance $V0 start force
-
-#Test if rebalance completed with success.
-EXPECT_WITHIN $REBALANCE_TIMEOUT "completed" rebalance_status_field $V0
-echo "rebalance done..."
-kill $back_pid1
-cleanup;
diff --git a/tests/bugs/replicate/bug-921231.t b/tests/bugs/replicate/bug-921231.t
index 81504612f63..81504612f63 100755..100644
--- a/tests/bugs/replicate/bug-921231.t
+++ b/tests/bugs/replicate/bug-921231.t