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

Robin Dong robin.k.dong at gmail.com
Mon Dec 23 07:54:21 CET 2013


Reviewed-by: Robin Dong <sanbai at taobao.com>


2013/12/20 Liu Yuan <namei.unix at gmail.com>

> 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
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog
>



-- 
--
Best Regard
Robin Dong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20131223/fa047a8d/attachment-0004.html>


More information about the sheepdog mailing list