Current master can't pass it and this bug will be fixed by next patch. Signed-off-by: Liu Yuan <[email protected]> --- tests/functional/076 | 23 +++++++++++++++++++++++ tests/functional/076.out | 4 ++++ tests/functional/group | 1 + 3 files changed, 28 insertions(+) create mode 100755 tests/functional/076 create mode 100644 tests/functional/076.out
diff --git a/tests/functional/076 b/tests/functional/076 new file mode 100755 index 0000000..6e755f9 --- /dev/null +++ b/tests/functional/076 @@ -0,0 +1,23 @@ +#!/bin/bash + +# Test sheep recovery logic for erasure coding + +. ./common + +for i in `seq 0 31`; do + _start_sheep $i +done + +_wait_for_sheep 32 + +_cluster_format + +$DOG vdi create -c 16:7 test 20M +_vdi_list +_random | $DOG vdi write test +$DOG vdi read test | md5sum > $STORE/csum1 + +for i in `seq 1 7`;do _kill_sheep $i;done +$DOG vdi read test | md5sum > $STORE/csum2 + +diff -u $STORE/csum1 $STORE/csum2 diff --git a/tests/functional/076.out b/tests/functional/076.out new file mode 100644 index 0000000..0d3d614 --- /dev/null +++ b/tests/functional/076.out @@ -0,0 +1,4 @@ +QA output created by 076 +using backend plain store + Name Id Size Used Shared Creation time VDI id Copies Tag + test 0 20 MB 0.0 MB 0.0 MB DATE 7c2b25 23 diff --git a/tests/functional/group b/tests/functional/group index 938df7a..8d15ffe 100644 --- a/tests/functional/group +++ b/tests/functional/group @@ -90,3 +90,4 @@ 073 auto quick sheepfs 074 auto quick clster md 075 auto quick vdi md +076 auto quick vdi md -- 1.7.9.5 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
