diff options
author | Ravishankar N <ravishankar@redhat.com> | 2016-03-31 21:15:14 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-04-07 13:19:27 -0700 |
commit | 44fe595664b6c2da6cc6a1a9d1aa195f92c8b601 (patch) | |
tree | 4d399426e8f3f6dfaf410bc4f8261c982511a4d7 /tests/basic/afr/split-brain-healing.t | |
parent | 0fa83a3310274845fa9b445d1aed124e9fb43410 (diff) |
tests: Fix typo in split-brain-healing.t
Change-Id: Ie4554a13fd60d2b14518cc54e8c464f898970030
BUG: 1321322
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/13875
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/basic/afr/split-brain-healing.t')
-rw-r--r-- | tests/basic/afr/split-brain-healing.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/basic/afr/split-brain-healing.t b/tests/basic/afr/split-brain-healing.t index 390579c0288..2171de3029d 100644 --- a/tests/basic/afr/split-brain-healing.t +++ b/tests/basic/afr/split-brain-healing.t @@ -173,14 +173,14 @@ subvolume=$(get_replicate_subvol_number file6) if [ $subvolume == 0 ] then GFID=$(gf_get_gfid_xattr $B0/${V0}1/file6) - mtime1=$(stat -c %Y $B0/${V0}1/file5) - mtime2=$(stat -c %Y $B0/${V0}2/file5) + mtime1=$(stat -c %Y $B0/${V0}1/file6) + mtime2=$(stat -c %Y $B0/${V0}2/file6) LATEST_MTIME=$(($mtime1 > $mtime2 ? $mtime1:$mtime2)) elif [ $subvolume == 1 ] then GFID=$(gf_get_gfid_xattr $B0/${V0}3/file6) - mtime1=$(stat -c %Y $B0/${V0}3/file5) - mtime2=$(stat -c %Y $B0/${V0}4/file5) + mtime1=$(stat -c %Y $B0/${V0}3/file6) + mtime2=$(stat -c %Y $B0/${V0}4/file6) LATEST_MTIME=$(($mtime1 > $mtime2 ? $mtime1:$mtime2)) fi GFIDSTR="gfid:$(gf_gfid_xattr_to_str $GFID)" |