diff options
author | Dan Lambright <dlambrig@redhat.com> | 2015-10-09 12:18:03 -0400 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-10-09 17:44:28 -0700 |
commit | bad9539437ca1d69e470159277bbb6b5675cbae3 (patch) | |
tree | 904a080922271282d36015b6cdbf1b29135bbd46 /tests/basic/tier | |
parent | 069661f8497bbe459cb0a195f115d84c2ebd37aa (diff) |
cluster/tier: fix transpoint endpoint not connected in tier.t (rare)
The script did not cleanly unmount/mount gluster and change the current
working directory when stopping and starting the volume. Most of the
time this problem would self-resolve before subsequent tests, but
very occasionally races would lead to the errors/failures.
Change-Id: I128b913a71e2745512ee81c3d71852311e3b4a1b
BUG: 1270328
Signed-off-by: Dan Lambright <dlambrig@redhat.com>
Reviewed-on: http://review.gluster.org/12327
Reviewed-by: Joseph Fernandes
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/basic/tier')
-rwxr-xr-x | tests/basic/tier/tier.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basic/tier/tier.t b/tests/basic/tier/tier.t index b47c8263b40..7810ff2bfd6 100755 --- a/tests/basic/tier/tier.t +++ b/tests/basic/tier/tier.t @@ -157,8 +157,12 @@ TEST touch delete_me.txt TEST rm -f delete_me.txt # stop the volume and restart it. The rebalance daemon should restart. +cd /tmp +umount $M0 TEST $CLI volume stop $V0 TEST $CLI volume start $V0 +TEST $GFS --volfile-id=/$V0 --volfile-server=$H0 $M0; +cd $M0 sleep_first_cycle $CLI volume tier $V0 status |