Delta Between Two Patch Sets: suite_test.go
Issue 5699093 :
zookeeper: make Conn.Close safe to call concurrently with other operations.
Left Patch Set: zookeeper: make Conn.Close safe to call concurrently with other operations.
Right Patch Set: zookeeper: make Conn.Close safe to call concurrently with other operations.
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
close_test.go
retry_test.go
suite_test.go
zk.go
zk_test.go
LEFT RIGHT
1 package zookeeper_test 1 package zookeeper_test
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 . "launchpad.net/gocheck" 5 . "launchpad.net/gocheck"
6 zk "launchpad.net/gozk/zookeeper" 6 zk "launchpad.net/gozk/zookeeper"
7 "os" 7 "os"
8 "testing" 8 "testing"
9 "time" 9 "time"
10 ) 10 )
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading...
120 if err != nil { 120 if err != nil {
121 c.Fatal("Cannot start ZooKeeper server: ", err) 121 c.Fatal("Cannot start ZooKeeper server: ", err)
122 } 122 }
123 } 123 }
124 124
125 func (s *S) TearDownSuite(c *C) { 125 func (s *S) TearDownSuite(c *C) {
126 if s.zkServer != nil { 126 if s.zkServer != nil {
127 s.zkServer.Destroy() 127 s.zkServer.Destroy()
128 } 128 }
129 } 129 }
LEFT RIGHT