summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDan Lambright <dlambrig@redhat.com>2015-11-11 15:54:10 -0500
committerDan Lambright <dlambrig@redhat.com>2015-11-11 19:25:40 -0800
commit869b81fceabf3b9d5508665fc36fa7f98a4d4316 (patch)
tree9221e810556859245727cdcf138a28f8310016c4 /tests
parent3dadb0f4eff1cad703be92b17f7c230955e12d67 (diff)
tests: fix spurious error in fops-during-migration-pause.t
The test did not spend long enough time moving the file for the pause to occur simultaneously, leading to failure. Solution is to elongate that time by increasing the file size. Change-Id: I1727fa9e3f7a987dfa07dd5da44c68d3f17218d9 BUG: 1280428 Signed-off-by: Dan Lambright <dlambrig@redhat.com> Reviewed-on: http://review.gluster.org/12570 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Joseph Fernandes
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic/tier/fops-during-migration-pause.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/tier/fops-during-migration-pause.t b/tests/basic/tier/fops-during-migration-pause.t
index 702465f4191..332e4bb1c03 100755
--- a/tests/basic/tier/fops-during-migration-pause.t
+++ b/tests/basic/tier/fops-during-migration-pause.t
@@ -56,10 +56,10 @@ TEST glusterfs -s $H0 --volfile-id $V0 $M0
TEST mkdir $M0/dir1
-# Create a large file (200MB), so that rebalance takes time
+# Create a large file (800MB), so that rebalance takes time
# The file will be created on the hot tier
-dd if=/dev/zero of=$M0/dir1/FILE1 bs=64k count=5120
+dd if=/dev/zero of=$M0/dir1/FILE1 bs=256k count=5120
# Get the path of the file on the hot tier
HPATH=`find $B0/hot/ -name FILE1`