c3e5201972
clientv3: fix barrier.Wait() still block after barrier.Release() in some cases
...
Signed-off-by: Wenkang Zhang <314830391@qq.com >
2023-07-18 15:48:48 +08:00
3d3e91c6e3
clientv3: remove v3.WithFirstKey() in Barrier.Wait()
...
fix the unexpected blocking when using Barrier.Wait(), e.g.
NewBarrier(client, "a").Wait() will block if key "a" is not existed but "a0" is existed, but it should return immediately.
Signed-off-by: zhangwenkang <zwenkang@vmware.com >
2023-07-04 22:01:54 +08:00
c3b6cbdb73
all: goimports -w .
...
Signed-off-by: Sasha Melentyev <sasha@melentyev.io >
2022-11-17 19:07:04 +03:00
264fdbb6a1
test: Remove separation between V2 and V3 cluster in integration tests
2022-01-20 14:10:09 +01:00
ca9b720c1d
tests: Move integration setup to separa framework package
2021-10-20 10:34:35 +02:00
fb1d48e98e
Integration tests: Use BeforeTest(t) instead of defer AfterTest().
...
Thanks to this change, a single method BeforeTest(t) can handle
before-test logic as well as registration of cleanup code
(t.Cleanup(func)).
2021-03-09 18:19:51 +01:00
45b007b8b4
contrib,clientv3: Move contrib/recipies to clientv3/experimental/recipies/...
...
Recipies is set of patterns / primitives implementation on top of clientv3.
It's used by integration tests. It shouldn't be considered "server" code.
2020-10-22 11:10:07 +02:00