<div dir="ltr">Reviewed-by: Robin Dong <<a href="mailto:sanbai@taobao.com">sanbai@taobao.com</a>></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/20 Liu Yuan <span dir="ltr"><<a href="mailto:namei.unix@gmail.com" target="_blank">namei.unix@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patches implement local lock/unlock to assist test http servies and add 2<br>
test cases which stress parallel requests.<br>
<br>
Local driver can pass it but zk driver will fail both cases, I suspect zk has<br>
bugs in its lock implementation.<br>
<br>
v4:<br>
- update comment for tests since zk 3.4.5 can pass it<br>
<br>
Liu Yuan (4):<br>
cluster/local: support lock/unlock<br>
tests/func: add nginx.conf<br>
tests/func: add 081 to test http service<br>
tests/func: add 082 to test http services with multiple servers<br>
<br>
sheep/cluster/local.c | 95 +++++++++++++++++++++++++++++++++-<br>
tests/functional/081 | 104 ++++++++++++++++++++++++++++++++++++++<br>
tests/functional/081.out | 69 +++++++++++++++++++++++++<br>
tests/functional/082 | 112 +++++++++++++++++++++++++++++++++++++++++<br>
tests/functional/082.out | 85 +++++++++++++++++++++++++++++++<br>
tests/functional/common.config | 1 +<br>
tests/functional/group | 2 +<br>
tests/functional/nginx.conf | 97 +++++++++++++++++++++++++++++++++++<br>
8 files changed, 563 insertions(+), 2 deletions(-)<br>
create mode 100755 tests/functional/081<br>
create mode 100644 tests/functional/081.out<br>
create mode 100755 tests/functional/082<br>
create mode 100644 tests/functional/082.out<br>
create mode 100644 tests/functional/nginx.conf<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.8.1.2<br>
<br>
--<br>
sheepdog mailing list<br>
<a href="mailto:sheepdog@lists.wpkg.org">sheepdog@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/sheepdog" target="_blank">http://lists.wpkg.org/mailman/listinfo/sheepdog</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>--<br>Best Regard<br>Robin Dong
</div>