This commit is contained in:
Nan Deng 2014-06-30 20:51:38 -07:00
parent 101806cb5e
commit f68446fed9

View File

@ -51,9 +51,8 @@ func MakeFakeEtcdClient(t *testing.T) *FakeEtcdClient {
ret := &FakeEtcdClient{ ret := &FakeEtcdClient{
t: t, t: t,
Data: map[string]EtcdResponseWithError{}, Data: map[string]EtcdResponseWithError{},
// watchChanReady: make(chan bool),
} }
// The channels are not ready yet // Watch() method has not been called.
ret.condWatchCompleted = sync.NewCond(&ret.condLock) ret.condWatchCompleted = sync.NewCond(&ret.condLock)
return ret return ret
} }