Sha256: 21be0a46fa90152fcd593115623756a0ecd3a23302e389e536ce9fe9fca1d47c
Contents?: true
Size: 310 Bytes
Versions: 51
Compression:
Stored size: 310 Bytes
Contents
require 'spec_helper' describe RightSupport::Net::LB::RoundRobin do before(:each) do @endpoints = [1,2,3,4,5] @policy = RightSupport::Net::LB::RoundRobin.new() @policy.set_endpoints(@endpoints) end it 'chooses fairly' do test_random_distribution do @policy.next end end end
Version data entries
51 entries across 51 versions & 1 rubygems