public class TestLoadBalancerRoundRobin extends TestCase2
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestLoadBalancerRoundRobin() |
TestLoadBalancerRoundRobin(String arg0) |
Modifier and Type | Method and Description |
---|---|
void |
test_excluded()
Test when minCount=maxCount=0 where there is an excluded service.
|
void |
test_roundRobin_2DataServices()
Test when minCount=maxCount=1 and there are N=2 data services to verify
correct round robin assignment.
|
void |
test_roundRobin_NDataServices()
Test when minCount=maxCount=1 and there are N GT 2 data services to
verify correct round robin assignment.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public TestLoadBalancerRoundRobin()
public TestLoadBalancerRoundRobin(String arg0)
arg0
- public void test_roundRobin_2DataServices() throws InterruptedException, TimeoutException
TimeoutException
InterruptedException
public void test_roundRobin_NDataServices() throws InterruptedException, TimeoutException
TimeoutException
InterruptedException
public void test_excluded() throws InterruptedException, TimeoutException
AsynchronousOverflowTask
looks for target services for index
partition MOVEs. AsynchronousOverflowTask
will specify the local
data service as the excluded service. The proper behavior is to return
all services except the excluded service on each request.TimeoutException
InterruptedException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.