Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(961)

Delta Between Two Patch Sets: state/export_test.go

Issue 5786051: Move ZK test server setup into its own package
Left Patch Set: Move ZK test server setup into its own package Created 12 years ago
Right Patch Set: Move ZK test server setup into its own package Created 12 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « [revision details] ('k') | state/internal_test.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // launchpad.net/juju/state 1 // launchpad.net/juju/state
2 // 2 //
3 // Copyright (c) 2011-2012 Canonical Ltd. 3 // Copyright (c) 2011-2012 Canonical Ltd.
4 package state 4 package state
5 5
6 import ( 6 import (
7 "launchpad.net/gozk/zookeeper" 7 "launchpad.net/gozk/zookeeper"
8 ) 8 )
9 9
10 // ZkConn returns the ZooKeeper connection used by a state. 10 // ZkConn returns the ZooKeeper connection used by a state.
11 // It is defined in export_test.go so that tests can have access 11 // It is defined in export_test.go so that tests can have access
12 // to this connection. 12 // to this connection.
13 func ZkConn(st *State) *zookeeper.Conn { 13 func ZkConn(st *State) *zookeeper.Conn {
14 return st.zk 14 return st.zk
15 } 15 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b