@ Given ( "^I connect to Zookeeper at '(.+)'$" ) public void connectToZk ( String zookeeperHosts ) throws InterruptedException { commonspec . getZookeeperSecClient ( ) . setZookeeperSecConnection ( zookeeperHosts , 3000 ) ; commonspec . getZookeeperSecClient ( ) . connectZk ( ) ; }
Connect to zookeeper .