[sheepdog] [PATCH v4 0/4] add tests for http services

Liu Yuan namei.unix at gmail.com
Fri Dec 20 05:50:09 CET 2013


This patches implement local lock/unlock to assist test http servies and add 2
test cases which stress parallel requests.

Local driver can pass it but zk driver will fail both cases, I suspect zk has
bugs in its lock implementation.

v4:
 - update comment for tests since zk 3.4.5 can pass it

Liu Yuan (4):
  cluster/local: support lock/unlock
  tests/func: add nginx.conf
  tests/func: add 081 to test http service
  tests/func: add 082 to test http services with multiple servers

 sheep/cluster/local.c          |  95 +++++++++++++++++++++++++++++++++-
 tests/functional/081           | 104 ++++++++++++++++++++++++++++++++++++++
 tests/functional/081.out       |  69 +++++++++++++++++++++++++
 tests/functional/082           | 112 +++++++++++++++++++++++++++++++++++++++++
 tests/functional/082.out       |  85 +++++++++++++++++++++++++++++++
 tests/functional/common.config |   1 +
 tests/functional/group         |   2 +
 tests/functional/nginx.conf    |  97 +++++++++++++++++++++++++++++++++++
 8 files changed, 563 insertions(+), 2 deletions(-)
 create mode 100755 tests/functional/081
 create mode 100644 tests/functional/081.out
 create mode 100755 tests/functional/082
 create mode 100644 tests/functional/082.out
 create mode 100644 tests/functional/nginx.conf

-- 
1.8.1.2




More information about the sheepdog mailing list