summaryrefslogtreecommitdiffstats
path: root/tests/basic/tier/fops-during-migration-pause.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/tier/fops-during-migration-pause.t')
-rwxr-xr-xtests/basic/tier/fops-during-migration-pause.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/basic/tier/fops-during-migration-pause.t b/tests/basic/tier/fops-during-migration-pause.t
index f50d666ef27..20719c8510a 100755
--- a/tests/basic/tier/fops-during-migration-pause.t
+++ b/tests/basic/tier/fops-during-migration-pause.t
@@ -5,8 +5,8 @@
. $(dirname $0)/../../tier.rc
NUM_BRICKS=3
-DEMOTE_FREQ=10
-PROMOTE_FREQ=10
+DEMOTE_FREQ=30
+PROMOTE_FREQ=30
TEST_STR="Testing write and truncate fops on tier migration"
@@ -59,8 +59,9 @@ TEST mkdir $M0/dir1
# Create a large file (800MB), so that rebalance takes time
# The file will be created on the hot tier
+
sleep_until_mid_cycle $DEMOTE_FREQ
-dd if=/dev/zero of=$M0/dir1/FILE1 bs=256k count=5120
+dd if=/dev/zero of=$M0/dir1/FILE1 bs=256k count=4096
# Get the path of the file on the hot tier
HPATH=`find $B0/hot/ -name FILE1`