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-12 03:54:20 -0800
commitfe120d326fd850bbea8cc5c0b3a9ba2764289e75 (patch)
treeeb7995622ec9b6e886555c850a68b8655057ef5d /tests
parent1e746edf35f5e1dd62f189fdc6c045a5d1482fa8 (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. This is a backport of 12570 > 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 Signed-off-by: Dan Lambright <dlambrig@redhat.com> Change-Id: I32c0271acebc7f33dea790b9b2bee62849c7b984 BUG: 1280715 Reviewed-on: http://review.gluster.org/12571 Reviewed-by: Joseph Fernandes Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
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`