[sheepdog] [PATCH] tests/010: fix wrong output

Liu Yuan namei.unix at gmail.com
Tue Sep 18 11:22:55 CEST 2012


From: Liu Yuan <tailai.ly at taobao.com>

For object indexed 6, its localtion track is:

yliu at yliu:~/sheepdog/tests$ collie vdi track -i 6 test
Tracking the object 0x7c2b2500000006 (the inode vid 0x7c2b25 idx 6) with 8 nodes

obj 7c2b2500000006 locations at epoch 1, copies = 3
---------------------------------------------------
127.0.0.1:7004
127.0.0.1:7003
127.0.0.1:7002

obj 7c2b2500000006 locations at epoch 2, copies = 3
---------------------------------------------------
127.0.0.1:7004
127.0.0.1:7002
127.0.0.1:7000

obj 7c2b2500000006 locations at epoch 3, copies = 3
---------------------------------------------------
127.0.0.1:7002
127.0.0.1:7000
127.0.0.1:7001

obj 7c2b2500000006 locations at epoch 4, copies = 3
---------------------------------------------------
127.0.0.1:7003
127.0.0.1:7002
127.0.0.1:7000

obj 7c2b2500000006 locations at epoch 5, copies = 3
---------------------------------------------------
127.0.0.1:7004
127.0.0.1:7003
127.0.0.1:7002

obj 7c2b2500000006 locations at epoch 6, copies = 3
---------------------------------------------------
127.0.0.1:7004
127.0.0.1:7007
127.0.0.1:7003

obj 7c2b2500000006 locations at epoch 7, copies = 3
---------------------------------------------------
127.0.0.1:7000
127.0.0.1:7004
127.0.0.1:7007

obj 7c2b2500000006 locations at epoch 8, copies = 3
---------------------------------------------------
127.0.0.1:7005
127.0.0.1:7000
127.0.0.1:7004

Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 tests/010.out | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/010.out b/tests/010.out
index 61b23b9..07cf984 100644
--- a/tests/010.out
+++ b/tests/010.out
@@ -236,6 +236,7 @@ DATE      8 [127.0.0.1:7000, 127.0.0.1:7001, 127.0.0.1:7002, 127.0.0.1:7003, 127
 /tmp/sheepdog/0/obj/007c2b2500000002
 /tmp/sheepdog/0/obj/007c2b2500000004
 /tmp/sheepdog/0/obj/007c2b2500000005
+/tmp/sheepdog/0/obj/007c2b2500000006
 /tmp/sheepdog/0/obj/807c2b2500000000
 /tmp/sheepdog/1/obj/007c2b2500000000
 /tmp/sheepdog/1/obj/007c2b2500000001
@@ -256,5 +257,4 @@ DATE      8 [127.0.0.1:7000, 127.0.0.1:7001, 127.0.0.1:7002, 127.0.0.1:7003, 127
 /tmp/sheepdog/5/obj/007c2b2500000007
 /tmp/sheepdog/6/obj/007c2b2500000003
 /tmp/sheepdog/7/obj/007c2b2500000003
-/tmp/sheepdog/7/obj/007c2b2500000006
 /tmp/sheepdog/7/obj/007c2b2500000007
-- 
1.7.12.84.gefa6462




More information about the sheepdog mailing list