diff options
| author | N Balachandran <nbalacha@redhat.com> | 2015-10-20 22:23:17 +0530 |
|---|---|---|
| committer | Dan Lambright <dlambrig@redhat.com> | 2015-10-21 19:47:39 -0700 |
| commit | 594a03b030577bf0ed6960199e920cc5fa7e7afc (patch) | |
| tree | 2c99babdb9efe4604b6deed5f4ff7fd05220b3cf /tests/basic/tier/fops-during-migration.t | |
| parent | 36974c36fa4231df3f0e9428a9da6d1aa33348ab (diff) | |
tests/tier: Move common functions to tier.rc
Move common functions in tier .t files to tier.rc
Change-Id: Ibc312d987be9d93e7cc7fc47d0bf598bb1c944c2
BUG: 1272319
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Reviewed-on: http://review.gluster.org/12404
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/basic/tier/fops-during-migration.t')
| -rwxr-xr-x | tests/basic/tier/fops-during-migration.t | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/basic/tier/fops-during-migration.t b/tests/basic/tier/fops-during-migration.t index ce25f0acc32..aa868847738 100755 --- a/tests/basic/tier/fops-during-migration.t +++ b/tests/basic/tier/fops-during-migration.t @@ -2,6 +2,7 @@ . $(dirname $0)/../../include.rc . $(dirname $0)/../../volume.rc +. $(dirname $0)/../../tier.rc NUM_BRICKS=3 @@ -10,16 +11,6 @@ PROMOTE_FREQ=5 TEST_STR="Testing write and truncate fops on tier migration" -function is_sticky_set () { - echo $1 - if [ -k $1 ]; - then - echo "yes" - else - echo "no" - fi -} - # Creates a tiered volume with pure distribute hot and cold tiers # Both hot and cold tiers will have an equal number of bricks. |
