Sha256: 5a954d078c9042ed144d56a38f0629da3b33b1a29d2fc836c8c14044d08c5f50

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

# encoding: UTF-8

require File.expand_path("helper", File.dirname(__FILE__))
require "lint/hyper_log_log"

class TestDistributedCommandsOnHyperLogLog < Test::Unit::TestCase

  include Helper::Distributed
  include Lint::HyperLogLog

  def test_pfmerge
    target_version "2.8.9" do
      assert_raise Redis::Distributed::CannotDistribute do
        r.pfadd "foo", "s1"
        r.pfadd "bar", "s2"

        assert r.pfmerge("res", "foo", "bar")
      end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redis-3.1.0 test/distributed_commands_on_hyper_log_log_test.rb