summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2012-12-18 15:21:20 -0800
committerAnand Avati <avati@redhat.com>2012-12-18 15:42:30 -0800
commite0c7d9edb67c19eee9dc3a536bd3347d350082f0 (patch)
treecb69a6011be3648026b53b15b215d8f4963d8173 /tests
parent116c1ce428238b56d48f80f78aea8e6b303bd89c (diff)
Revert "tests: Test afr mknod, create when one of the bricks is offline."
This reverts commit 29ea7b5c23571e7d2449b3ccd582d3fe70371ea9 Change-Id: I1ea8bab057fc215ef628b5762cd4958dd961830a Reviewed-on: http://review.gluster.org/4332 Reviewed-by: Anand Avati <avati@redhat.com> Tested-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/bugs/bug-858212.t48
1 files changed, 0 insertions, 48 deletions
diff --git a/tests/bugs/bug-858212.t b/tests/bugs/bug-858212.t
deleted file mode 100755
index ead92b276ea..00000000000
--- a/tests/bugs/bug-858212.t
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-. $(dirname $0)/../include.rc
-. $(dirname $0)/../volume.rc
-
-cleanup;
-
-B0_hiphenated=`echo $B0 | tr '/' '-'`
-TEST glusterd
-TEST pidof glusterd
-TEST $CLI volume create $V0 replica 2 $H0:$B0/r2d2_0 $H0:$B0/r2d2_1 $H0:$B0/r2d2_2 $H0:$B0/r2d2_3
-TEST $CLI volume set $V0 self-heal-daemon off
-TEST $CLI volume set $V0 data-self-heal off
-TEST $CLI volume set $V0 metadata-self-heal off
-TEST $CLI volume set $V0 entry-self-heal off
-TEST $CLI volume start $V0
-TEST glusterfs --volfile-server=$H0 --volfile-id=/$V0 $M0
-
-#test case of 858212
-for i in {13,14,16}; do echo abc > $M0/$i; done
-TEST mv -f $M0/14 $M0/13
-kill -9 $(cat /var/lib/glusterd/vols/$V0/run/$H0$B0_hiphenated-r2d2_3.pid)
-TEST $CLI volume add-brick $V0 $H0:$B0/r2d2_4 $H0:$B0/r2d2_5
-TEST $CLI volume rebalance $V0 start
-EXPECT_WITHIN 20 "completed" rebalance_status_completed_field
-TEST mv -f $M0/13 $M0/16
-$CLI volume remove-brick $V0 $H0:$B0/r2d2_{4,5} start
-EXPECT_WITHIN 20 "completed" remove_brick_status_completed_field
-$CLI volume remove-brick $V0 $H0:$B0/r2d2_{4,5} commit
-TEST mv -f $M0/16 $M0/13
-TEST $CLI volume set $V0 self-heal-daemon on
-TEST $CLI volume start $V0 force
-EXPECT_WITHIN 10 "1" afr_child_up_status $V0 3
-EXPECT_WITHIN 10 "Y" glustershd_up_status
-TEST $CLI volume heal $V0
-sleep 2
-linkto2=$(getfattr -n trusted.glusterfs.dht.linkto $B0/r2d2_2/13 2>/dev/null | grep -v ^#)
-linkto3=$(getfattr -n trusted.glusterfs.dht.linkto $B0/r2d2_3/13 2>/dev/null | grep -v ^#)
-TEST [ $linkto2 = $linkto3 ]
-EXPECT "0" stat -c "%s" $B0/r2d2_2/13
-EXPECT "0" stat -c "%s" $B0/r2d2_3/13
-
-#Test that mknod and create fops are marking the changelog properly
-kill -9 $(cat /var/lib/glusterd/vols/$V0/run/$H0$B0_hiphenated-r2d2_2.pid)
-TEST touch $M0/a
-TEST mknod $M0/b b 0 0
-EXPECT "trusted.afr.$V0-client-2=0x000000010000000200000000" echo $(getfattr -n trusted.afr.$V0-client-2 -e hex $B0/r2d2_3/a 2>/dev/null | grep -v ^#)
-EXPECT "trusted.afr.$V0-client-2=0x000000000000000100000000" echo $(getfattr -n trusted.afr.$V0-client-2 -e hex $B0/r2d2_3/b 2>/dev/null | grep -v ^#)
-cleanup;