"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/bugs/replicate/bug-1101647.t" between
glusterfs-8.4.tar.gz and glusterfs-8.5.tar.gz

About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x.

bug-1101647.t  (glusterfs-8.4):bug-1101647.t  (glusterfs-8.5)
skipping to change at line 14 skipping to change at line 14
. $(dirname $0)/../../volume.rc . $(dirname $0)/../../volume.rc
. $(dirname $0)/../../afr.rc . $(dirname $0)/../../afr.rc
cleanup; cleanup;
TEST glusterd TEST glusterd
TEST pidof glusterd TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{1,2}; TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{1,2};
TEST $CLI volume start $V0; TEST $CLI volume start $V0;
TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0 TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Y" glustershd_up_status TEST kill_brick $V0 $H0 $B0/${V0}2
#Create base entry in indices/xattrop #Create base entry in indices/xattrop
echo "Data">$M0/file echo "Data">$M0/file
EXPECT 3 count_index_entries $B0/$V0"1"
TEST $CLI volume start $V0 force
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Y" glustershd_up_status
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 0
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 1
TEST $CLI volume heal $V0 TEST $CLI volume heal $V0
EXPECT_WITHIN $HEAL_TIMEOUT "^0$" get_pending_heal_count $V0
#Entries from indices/xattrop should not be cleared after a heal. #Entries from indices/xattrop should not be cleared after a heal.
EXPECT 1 count_index_entries $B0/$V0"1" EXPECT 1 count_index_entries $B0/$V0"1"
EXPECT 1 count_index_entries $B0/$V0"2"
TEST kill_brick $V0 $H0 $B0/${V0}2 TEST kill_brick $V0 $H0 $B0/${V0}2
echo "More data">>$M0/file echo "More data">>$M0/file
EXPECT 1 echo `$CLI volume heal $V0 statistics heal-count|grep "Number of entrie s:"|head -n1|awk '{print $4}'` EXPECT 1 echo `$CLI volume heal $V0 statistics heal-count|grep "Number of entrie s:"|head -n1|awk '{print $4}'`
cleanup; cleanup;
 End of changes. 4 change blocks. 
4 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)