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..31a4ea6 --- /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 45`; do + _start_sheep $i +done + +_wait_for_sheep 46 + +_cluster_format + +$DOG vdi create -c 16:15 test 40M +_vdi_list +_random | $DOG vdi write test +$DOG vdi read test | md5sum > $STORE/csum1 + +for i in `seq 1 15`;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..1609dd3 --- /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 40 MB 0.0 MB 0.0 MB DATE 7c2b25 31 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
