mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
CreateClient->NewClient
This commit is contained in:
parent
773ee61fb2
commit
3683992183
@ -25,7 +25,7 @@ func TestSingleNode(t *testing.T) {
|
||||
|
||||
time.Sleep(time.Second)
|
||||
|
||||
c := etcd.CreateClient()
|
||||
c := etcd.NewClient()
|
||||
|
||||
c.SyncCluster()
|
||||
// Test Set
|
||||
@ -66,7 +66,7 @@ func TestSingleNodeRecovery(t *testing.T) {
|
||||
|
||||
time.Sleep(time.Second)
|
||||
|
||||
c := etcd.CreateClient()
|
||||
c := etcd.NewClient()
|
||||
|
||||
c.SyncCluster()
|
||||
// Test Set
|
||||
@ -126,7 +126,7 @@ func TestSimpleMultiNode(t *testing.T) {
|
||||
|
||||
time.Sleep(time.Second)
|
||||
|
||||
c := etcd.CreateClient()
|
||||
c := etcd.NewClient()
|
||||
|
||||
c.SyncCluster()
|
||||
|
||||
@ -171,7 +171,7 @@ func TestMultiNodeRecovery(t *testing.T) {
|
||||
|
||||
time.Sleep(2 * time.Second)
|
||||
|
||||
c := etcd.CreateClient()
|
||||
c := etcd.NewClient()
|
||||
|
||||
c.SyncCluster()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user