diff options
author | N Balachandran <nbalacha@redhat.com> | 2019-02-14 17:48:26 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-02-18 04:44:22 +0000 |
commit | 8acca65e72f7724d23c18f44693a269d95a664c5 (patch) | |
tree | 0afa246c4726bda2f3eb385feff80717aa66ec1f /tests/bugs/distribute/bug-1193636.t | |
parent | dddcf52020004d98f688ebef968de51d76cbf9a6 (diff) |
tests/dht: Remove hardcoded brick paths
The tests assumed that the file is created on a
particular brick.This need not be the case
in all scenarios and has been removed.
Change-Id: Id420f43d7f72d983a7c6f16ea8fed273d46c4824
updates: bz#1672480
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'tests/bugs/distribute/bug-1193636.t')
-rw-r--r-- | tests/bugs/distribute/bug-1193636.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bugs/distribute/bug-1193636.t b/tests/bugs/distribute/bug-1193636.t index ccde02edc70..b377910336e 100644 --- a/tests/bugs/distribute/bug-1193636.t +++ b/tests/bugs/distribute/bug-1193636.t @@ -41,11 +41,13 @@ dd if=/dev/zero of=$M0/dir1/FILE2 bs=64k count=10240 # act on the file TEST mv $M0/dir1/FILE2 $M0/dir1/FILE1 +brick_loc=$(get_backend_paths $M0/dir1/FILE1) + build_tester $(dirname $0)/bug-1193636.c TEST $CLI volume rebalance $V0 start force -TEST checksticky $B0/${V0}3/dir1/FILE1 +TEST checksticky $brick_loc TEST setfattr -n "user.test1" -v "test1" $M0/dir1/FILE1 TEST setfattr -n "user.test2" -v "test1" $M0/dir1/FILE1 |