[sheepdog] [PATCH 6/6] tests: specify size with a suffix
morita.kazutaka at gmail.com
morita.kazutaka at gmail.com
Mon Nov 5 11:52:03 CET 2012
From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
tests/010 | 4 ++--
tests/016 | 2 +-
tests/018 | 2 +-
tests/019 | 2 +-
tests/020 | 2 +-
tests/042 | 2 +-
tests/044 | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/010 b/tests/010
index 71d175f..898edfe 100755
--- a/tests/010
+++ b/tests/010
@@ -16,7 +16,7 @@ status=1 # failure is the default!
_cleanup
for i in `seq 0 4`; do
- _start_sheep $i '-s 100'
+ _start_sheep $i '-s 100M'
done
_wait_for_sheep 5
@@ -56,7 +56,7 @@ ls $STORE/*/obj/* | sort
$COLLIE cluster recover disable
for i in `seq 3 7`; do
- _start_sheep $i '-s 100'
+ _start_sheep $i '-s 100M'
done
_wait_for_sheep 8
diff --git a/tests/016 b/tests/016
index ae9608b..fe73c63 100755
--- a/tests/016
+++ b/tests/016
@@ -16,7 +16,7 @@ status=1 # failure is the default!
_cleanup
for i in 0 1 2; do
- _start_sheep $i "-s 4096"
+ _start_sheep $i "-s 4G"
done
_wait_for_sheep 3
diff --git a/tests/018 b/tests/018
index cd2cfd7..bc4d0f1 100755
--- a/tests/018
+++ b/tests/018
@@ -16,7 +16,7 @@ status=1 # failure is the default!
_cleanup
for i in `seq 0 2`; do
- _start_sheep $i "-w object:size=100"
+ _start_sheep $i "-w object:size=100M"
done
_wait_for_sheep "3"
diff --git a/tests/019 b/tests/019
index f3862fb..a4150a2 100755
--- a/tests/019
+++ b/tests/019
@@ -16,7 +16,7 @@ status=1 # failure is the default!
_cleanup
for i in `seq 0 2`; do
- _start_sheep $i "-w object:size=100"
+ _start_sheep $i "-w object:size=100M"
done
_wait_for_sheep "3"
diff --git a/tests/020 b/tests/020
index e9943dd..69d7be7 100755
--- a/tests/020
+++ b/tests/020
@@ -16,7 +16,7 @@ status=1 # failure is the default!
_cleanup
for i in `seq 0 2`; do
- _start_sheep $i "-w object:size=20"
+ _start_sheep $i "-w object:size=20M"
done
_wait_for_sheep "3"
diff --git a/tests/042 b/tests/042
index b6aa54d..641edbe 100755
--- a/tests/042
+++ b/tests/042
@@ -26,7 +26,7 @@ ln -s $STORE/0/sheep2.log $STORE/2/sheep.log
ln -s $STORE/0/sheep3.log $STORE/3/sheep.log
for i in `seq 0 3`; do
- _start_sheep $i "-s $((1024 * 1024))"
+ _start_sheep $i "-s 1T"
done
_wait_for_sheep 4
diff --git a/tests/044 b/tests/044
index 6f5705c..64f06ff 100755
--- a/tests/044
+++ b/tests/044
@@ -16,7 +16,7 @@ status=1 # failure is the default!
_cleanup
for i in 0 1 2; do
- _start_sheep $i '-s 4096 -w object:size=1000'
+ _start_sheep $i '-s 4G -w object:size=1G'
done
_wait_for_sheep 3
--
1.7.9.5
More information about the sheepdog
mailing list