tests, shard: Remove dependency on strict-write-ordering
Change-Id: I00171a77bdefb1c2e7e4610cb0ade5679bdb761f BUG: 1289840 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/12915 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
This commit is contained in:
parent
fc07e9c90d
commit
3a01c1b367
@ -7,9 +7,8 @@ cleanup;
|
||||
|
||||
TEST glusterd
|
||||
TEST pidof glusterd
|
||||
TEST $CLI volume create $V0 $H0:$B0/${V0}{0,1}
|
||||
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1,2,3}
|
||||
TEST $CLI volume set $V0 features.shard on
|
||||
TEST $CLI volume set $V0 performance.strict-write-ordering on
|
||||
TEST $CLI volume start $V0
|
||||
|
||||
TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 $M0
|
||||
@ -41,6 +40,10 @@ EXPECT "root" echo `find $B0/${V0}0 -name .shard | xargs stat -c %U`
|
||||
EXPECT "root" echo `find $B0/${V0}0 -name .shard | xargs stat -c %G`
|
||||
EXPECT "root" echo `find $B0/${V0}1 -name .shard | xargs stat -c %U`
|
||||
EXPECT "root" echo `find $B0/${V0}1 -name .shard | xargs stat -c %G`
|
||||
EXPECT "root" echo `find $B0/${V0}2 -name .shard | xargs stat -c %U`
|
||||
EXPECT "root" echo `find $B0/${V0}2 -name .shard | xargs stat -c %G`
|
||||
EXPECT "root" echo `find $B0/${V0}3 -name .shard | xargs stat -c %U`
|
||||
EXPECT "root" echo `find $B0/${V0}3 -name .shard | xargs stat -c %G`
|
||||
|
||||
# Write 6M of data on bar as root.
|
||||
TEST dd if=/dev/zero of=$M0/bar bs=1M count=6
|
||||
|
@ -6,9 +6,8 @@ cleanup
|
||||
|
||||
TEST glusterd
|
||||
TEST pidof glusterd
|
||||
TEST $CLI volume create $V0 $H0:$B0/${V0}{0,1}
|
||||
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1,2,3}
|
||||
TEST $CLI volume set $V0 features.shard on
|
||||
TEST $CLI volume set $V0 performance.strict-write-ordering on
|
||||
TEST $CLI volume start $V0
|
||||
|
||||
TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 $M0
|
||||
|
@ -6,9 +6,8 @@ cleanup
|
||||
|
||||
TEST glusterd
|
||||
TEST pidof glusterd
|
||||
TEST $CLI volume create $V0 $H0:$B0/${V0}{0,1}
|
||||
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1,2,3}
|
||||
TEST $CLI volume set $V0 features.shard on
|
||||
TEST $CLI volume set $V0 performance.strict-write-ordering on
|
||||
TEST $CLI volume start $V0
|
||||
|
||||
TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 $M0
|
||||
|
@ -6,7 +6,7 @@ cleanup
|
||||
|
||||
TEST glusterd
|
||||
TEST pidof glusterd
|
||||
TEST $CLI volume create $V0 $H0:$B0/${V0}{0,1}
|
||||
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1,2,3}
|
||||
TEST $CLI volume start $V0
|
||||
|
||||
TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 $M0
|
||||
@ -24,7 +24,6 @@ md5sum_file_plain=$(md5sum $M0/dir/file_plain | awk '{print $1}')
|
||||
|
||||
# Now enable sharding on the volume.
|
||||
TEST $CLI volume set $V0 features.shard on
|
||||
TEST $CLI volume set $V0 performance.strict-write-ordering on
|
||||
|
||||
# Create a sharded file called "file_sharded"
|
||||
TEST touch $M0/dir/file_sharded
|
||||
|
@ -6,9 +6,8 @@ cleanup
|
||||
|
||||
TEST glusterd
|
||||
TEST pidof glusterd
|
||||
TEST $CLI volume create $V0 $H0:$B0/${V0}{0,1}
|
||||
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{0,1,2,3}
|
||||
TEST $CLI volume set $V0 features.shard on
|
||||
TEST $CLI volume set $V0 performance.strict-write-ordering on
|
||||
TEST $CLI volume start $V0
|
||||
|
||||
# $M0 is where the reads will be done and $M1 is where files will be created,
|
||||
|
Loading…
Reference in New Issue
Block a user