]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests/test-erasure-code: spin off eio tests into another testsuite 4736/head
authorKefu Chai <kchai@redhat.com>
Fri, 22 May 2015 07:54:22 +0000 (15:54 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 May 2015 19:22:41 +0000 (03:22 +0800)
commitf417eda9a448082d50225674e4c24dccff8b4f12
tree57ca1ac246ba7f094f3ae510a9113fa0ee1a3dae
parent2230deffcebd7b345f344966e400f0675995b314
tests/test-erasure-code: spin off eio tests into another testsuite

* since the eio tests crashes some of the OSD nodes, before the
  change, the tests try to undo the crash before moving on, so it
  won't interfere with following tests. a more robust/clean way to
  do this is to isolate individual tests in a sandbox, so each eio
  test will have its own:
    setup + inject + verify crash + teardown
  cycle. this change helps to remove the cleanup/undo steps in
  invidual test.
* update the disabled tests accordingly.
* use a minimum set of OSDs and R-S(2,1) for the testing to speed
  up the test.
* add the new testsuite to check_SCRIPTS

Fixes: #11693
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/erasure-code/Makefile.am
src/test/erasure-code/test-erasure-code.sh
src/test/erasure-code/test-erasure-eio.sh [new file with mode: 0755]