[sheepdog] [PATCH 5/5] tests:fix vnode strategy output

Wang dongxu wangdongxu at cmss.chinamobile.com
Wed Feb 11 16:26:22 CET 2015


since commit 5fed9d6, "Cluster vnodes strategy" information is produced,
so fix them in test cases.

Signed-off-by: Wang dongxu <wangdongxu at cmss.chinamobile.com>
---
 tests/functional/030.out | 1 +
 tests/functional/096.out | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/tests/functional/030.out b/tests/functional/030.out
index 2c788f0..baf51a7 100644
--- a/tests/functional/030.out
+++ b/tests/functional/030.out
@@ -37,6 +37,7 @@ s test2        2   10 MB   12 MB  0.0 MB DATE   fd3816      3                22
   test2        0   10 MB  0.0 MB   12 MB DATE   fd3817      3                22
 Cluster status: running, auto-recovery enabled
 Cluster store: plain with 6 redundancy policy
+Cluster vnodes strategy: auto
 Cluster vnode mode: node
 Cluster created at DATE
 
diff --git a/tests/functional/096.out b/tests/functional/096.out
index 2ff9dc6..a555287 100644
--- a/tests/functional/096.out
+++ b/tests/functional/096.out
@@ -27,6 +27,7 @@ $ ../../dog/dog cluster format -c 3
 $ ../../dog/dog cluster info -v
 Cluster status: running, auto-recovery enabled
 Cluster store: plain with 3 redundancy policy
+Cluster vnodes strategy: auto
 Cluster vnode mode: node
 Cluster created at DATE
 
@@ -80,6 +81,7 @@ The cluster's redundancy level is set to 2, the old one was 3.
 $ ../../dog/dog cluster info -v
 Cluster status: running, auto-recovery enabled
 Cluster store: plain with 2 redundancy policy
+Cluster vnodes strategy: auto
 Cluster vnode mode: node
 Cluster created at DATE
 
-- 
2.1.0






More information about the sheepdog mailing list