At Fri, 28 Oct 2011 13:08:24 +0900, MORITA Kazutaka wrote: > > Hi all, > > So far, we have been suffering from many timing problems. This > experience convinces me that we should create system testing framework > rather than unit testing one we discussed before. This patchset > enables us to create a virtual Sheepdog cluster with any number of > nodes only on localhost. We can create any scenario (e.g. create many > VDIs at the same time on three nodes) with a simple python script. > You can run all of testcases automatically with 'make check' on top of > the source directory. > > NOTE: I wrote this patchset to start discussing Sheepdog tests. I > hope someone would create a better one. > > > MORITA Kazutaka (4): > add make check support for testing > sheep: add debug output to use for testing > tests: add Sheepdog cluster emulation library > tests: add sample testcases > > Makefile.am | 2 +- > configure.ac | 6 ++- > sheep/group.c | 8 +++ > tests/Makefile.am | 40 ++++++++++++++ > tests/sheepdog_test.py | 135 ++++++++++++++++++++++++++++++++++++++++++++++ > tests/test_membership.py | 70 ++++++++++++++++++++++++ > tests/test_vdi.py | 26 +++++++++ > 7 files changed, 285 insertions(+), 2 deletions(-) > create mode 100644 tests/Makefile.am > create mode 100644 tests/sheepdog_test.py > create mode 100644 tests/test_membership.py > create mode 100644 tests/test_vdi.py Applied. Thanks. |