Sha256: c8766deec3f1d07852600842fe75e5e0c51ce97333f58519e2de36a42a871068

Contents?: true

Size: 379 Bytes

Versions: 2

Compression:

Stored size: 379 Bytes

Contents

require 'spec_helper'

describe 'ZK::Client::Multiplexed', :client => :multiplexed do
  before do
    @zk = ZK::Client::Multiplexed.new("localhost:#{ZK_TEST_PORT}").tap do |zk|
      wait_until { zk.connected? }
    end

    @zk.rm_rf('/test')
  end

  after do
    @zk.rm_rf('/test')
    @zk.close!

    wait_until(2) { @zk.closed? }
  end

  it_should_behave_like 'client'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zk-0.9.1 spec/z_k/client/multiplexed_spec.rb
zk-0.9.0 spec/z_k/client/multiplexed_spec.rb