stop zk watches cleanly#129
Conversation
- changes zk to use talbright fork - uses CancelWatch method in zk fork
|
Seems odd etcd tests would be failing, is master stable? Will have to look into it. |
|
Hi @talbright, it's definitely not related to your PR. Looking at the trace, this seems like a |
|
Thanks for the confirmation! I closed this PR after reading the contributor guidelines that suggested it was favorable to separate library upgrades/changes from taking advantage of any new features they might bring in. See #130 Some food for thought: Timing issues can really plague projects like this and go-zookeeper, its the nature of the beast to some extent. I've cleaned up a lot of the timing related bugs in my fork of go-zookeeper, but there's still some outstanding that can happen (I went from 9 of 10 builds failing to closer to 9 of 10 builds passing.) In our internal projects we use (ginkgo)[https://github.com/onsi/ginkgo], and have found the asynchronous matchers in gomega very helpful. I know there is a general stance against using heavy testing frameworks in the contribution guidelines, not to mention the amount of work it would take to switch tests over. However, there might be something useful to glean from the implementation of http://onsi.github.io/gomega/#eventually and some of the other asynchronous matchers. |
Uh oh!
There was an error while loading. Please reload this page.