TC 077 and 083 are involved. Signed-off-by: Ruoyu <lian...@ucweb.com> --- tests/functional/077 | 9 +++++++++ tests/functional/077.out | 11 +++++++++++ tests/functional/083 | 2 ++ tests/functional/083.out | 2 ++ 4 files changed, 24 insertions(+)
diff --git a/tests/functional/077 b/tests/functional/077 index 49f23e2..ef73073 100755 --- a/tests/functional/077 +++ b/tests/functional/077 @@ -29,6 +29,8 @@ done _wait_for_sheep 3 +$DOG vdi check -e test + $DOG vdi check test $DOG vdi read test 0 14 @@ -45,6 +47,8 @@ done _wait_for_sheep 3 +$DOG vdi check -e test + $DOG vdi check test $DOG vdi read test 0 14 @@ -62,6 +66,8 @@ done _wait_for_sheep 3 +$DOG vdi check -e test + $DOG vdi check test $DOG vdi read test 0 14 @@ -79,6 +85,8 @@ done _wait_for_sheep 3 +$DOG vdi check -e test + $DOG vdi check test $DOG cluster shutdown @@ -96,6 +104,7 @@ read_vdi_from_nodes() check_vdi_consistance() { read_vdi_from_nodes $1 + $DOG vdi check -e test $DOG vdi check test read_vdi_from_nodes $1 } diff --git a/tests/functional/077.out b/tests/functional/077.out index c966bbf..191d39f 100644 --- a/tests/functional/077.out +++ b/tests/functional/077.out @@ -2,16 +2,24 @@ QA output created by 077 using backend plain store Name Id Size Used Shared Creation time VDI id Copies Tag test 0 12 MB 0.0 MB 0.0 MB DATE 7c2b25 3 +[127.0.0.1:7000] oid 007c2b2500000000 is missing. +test lost 1 object(s). fixed missing 7c2b2500000000 finish check&repair test original data +test is fine, no object is missing. fixed replica 7c2b2500000000 finish check&repair test original data +[127.0.0.1:7000] oid 007c2b2500000000 is missing. +[127.0.0.1:7001] oid 007c2b2500000000 is missing. +test lost 2 object(s). fixed missing 7c2b2500000000 fixed missing 7c2b2500000000 finish check&repair test original data +[127.0.0.1:7000] oid 007c2b2500000000 is missing. +test lost 1 object(s). no majority of 7c2b2500000000 finish check&repair test @@ -23,6 +31,7 @@ finish check&repair test hello, copy0 hello, copy1 hello, copy2 +test is fine, no object is missing. no majority of 7c2b2500000000 finish check&repair test hello, copy0 @@ -38,6 +47,7 @@ hello, copy0 hello, copy1 hello, copy1 hello, copy1 +test is fine, no object is missing. fixed replica 7c2b2500000000 fixed replica 7c2b2500000000 finish check&repair test @@ -51,6 +61,7 @@ hello, copy0 hello, copy1 hello, copy0 hello, copy1 +test is fine, no object is missing. fixed replica 7c2b2500000000 fixed replica 7c2b2500000000 finish check&repair test diff --git a/tests/functional/083 b/tests/functional/083 index 06240ce..28c8d32 100755 --- a/tests/functional/083 +++ b/tests/functional/083 @@ -34,6 +34,8 @@ _start_sheep 2 "-z 1" _wait_for_sheep 3 +$DOG vdi check -e test + $DOG vdi check test $DOG vdi read test 0 14 diff --git a/tests/functional/083.out b/tests/functional/083.out index fe63d2b..90b4cba 100644 --- a/tests/functional/083.out +++ b/tests/functional/083.out @@ -6,6 +6,8 @@ QA output created by 083 using backend plain store Name Id Size Used Shared Creation time VDI id Copies Tag test 0 12 MB 0.0 MB 0.0 MB DATE 7c2b25 3 +[127.0.0.1:7001] oid 007c2b2500000000 is missing. +test lost 1 object(s). fixed missing 7c2b2500000000 finish check&repair test original data -- 1.8.3.2 -- sheepdog mailing list sheepdog@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/sheepdog