clientv3/integration: txn tests

This commit is contained in:
Anthony Romano
2016-02-03 16:46:18 -08:00
parent 26f440be7c
commit 9523c2d29f
4 changed files with 216 additions and 0 deletions

View File

@ -630,6 +630,11 @@ func (m *member) Stop(t *testing.T) {
m.hss = nil
}
// StopNotify unblocks when a member stop completes
func (m *member) StopNotify() <-chan struct{} {
return m.s.StopNotify()
}
// Restart starts the member using the preserved data dir.
func (m *member) Restart(t *testing.T) error {
newPeerListeners := make([]net.Listener, 0)