Sha256: 17f13b63d91fce79f89cf0707767dccdb2b9740e30e2462c565b35ee190a0a71

Contents?: true

Size: 601 Bytes

Versions: 2

Compression:

Stored size: 601 Bytes

Contents

require_relative 'helper'
require_relative '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
        super
      end
    end
  end

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

        assert r.pfcount('res', 'foo', 'bar')
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redis-4.0.3 test/distributed_commands_on_hyper_log_log_test.rb
redis-4.1.0.beta1 test/distributed_commands_on_hyper_log_log_test.rb