mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #13804 from endocrimes/dani/watch-fix
integration/client/watch.TestWatchCancelRunning: remove duplicate setup
This commit is contained in:
commit
a1f24af310
@ -299,8 +299,6 @@ func TestWatchCancelRunning(t *testing.T) {
|
||||
}
|
||||
|
||||
func testWatchCancelRunning(t *testing.T, wctx *watchctx) {
|
||||
integration2.BeforeTest(t)
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
if wctx.ch = wctx.w.Watch(ctx, "a"); wctx.ch == nil {
|
||||
t.Fatalf("expected non-nil watcher channel")
|
||||
|
Loading…
x
Reference in New Issue
Block a user