public class NetworkOrganizerTest
extends java.lang.Object
Constructor and Description |
---|
NetworkOrganizerTest() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getRandomAwsIp() |
protected java.lang.String |
getRandomIp() |
void |
setUp() |
void |
tearDown() |
void |
testFormat1()
Here we just check formatting for octets
|
void |
testFormat2() |
void |
testNetTree1() |
void |
testNetTree2() |
void |
testNetTree3()
This test is just a naive test for counters
|
void |
testNetTree4() |
void |
testNetTree5() |
void |
testNetTree6() |
void |
testSelectionDisjointNetworkC1() |
void |
testSelectionSingleBox1() |
void |
testSelectionSingleBox2() |
void |
testSelectionUniformNetworkC1() |
void |
testSelectionWithoutMaskB1()
In this test we'll check shards selection in "casual" AWS setup
By default AWS box has only one IP from 172.16.0.0/12 space + local loopback IP, which isn't exposed
|
void |
testSelectionWithoutMaskB2()
In this test we check for environment which has AWS-like setup:
1) Each box has IP address from 172.16.0.0/12 range
2) Within original homogenous network, we have 3 separate networks:
A) 192.168.0.X
B) 10.0.12.X
C) 10.172.12.X
|
public void setUp() throws java.lang.Exception
java.lang.Exception
public void tearDown() throws java.lang.Exception
java.lang.Exception
public void testSelectionUniformNetworkC1()
public void testSelectionSingleBox1() throws java.lang.Exception
java.lang.Exception
public void testSelectionSingleBox2() throws java.lang.Exception
java.lang.Exception
public void testSelectionDisjointNetworkC1()
public void testSelectionWithoutMaskB1() throws java.lang.Exception
java.lang.Exception
public void testSelectionWithoutMaskB2() throws java.lang.Exception
java.lang.Exception
public void testFormat1() throws java.lang.Exception
java.lang.Exception
public void testFormat2() throws java.lang.Exception
java.lang.Exception
public void testNetTree1() throws java.lang.Exception
java.lang.Exception
public void testNetTree2() throws java.lang.Exception
java.lang.Exception
public void testNetTree3() throws java.lang.Exception
java.lang.Exception
public void testNetTree4() throws java.lang.Exception
java.lang.Exception
public void testNetTree5() throws java.lang.Exception
java.lang.Exception
public void testNetTree6() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getRandomIp()
protected java.lang.String getRandomAwsIp()