use of org.bboxdb.network.client.BBoxDB in project bboxdb by jnidzwetzki.
the class TestBBoxDBCluster method testVersionTimeQuery.
/**
* Execute the version time query
* @throws BBoxDBException
* @throws InterruptedException
*/
@Test(timeout = 60000)
public void testVersionTimeQuery() throws InterruptedException, BBoxDBException {
final BBoxDB bboxDBClient = connectToServer();
NetworkQueryHelper.testVersionTimeQuery(bboxDBClient, DISTRIBUTION_GROUP);
disconnect(bboxDBClient);
}
use of org.bboxdb.network.client.BBoxDB in project bboxdb by jnidzwetzki.
the class TestBBoxDBCluster method testJoin.
/**
* Test the tuple join
* @throws ExecutionException
* @throws InterruptedException
* @throws BBoxDBException
*/
@Test(timeout = 60000)
public void testJoin() throws InterruptedException, ExecutionException, BBoxDBException {
System.out.println("=== Running cluster testJoin");
final BBoxDB bboxdbClient = connectToServer();
NetworkQueryHelper.executeJoinQuery(bboxdbClient, DISTRIBUTION_GROUP);
System.out.println("=== End cluster testJoin");
disconnect(bboxdbClient);
}
use of org.bboxdb.network.client.BBoxDB in project bboxdb by jnidzwetzki.
the class TestBBoxDBCluster method testMiscMethods.
/**
* Test misc methods
* @throws InterruptedException
*/
@Test(timeout = 60000)
public void testMiscMethods() throws InterruptedException {
final BBoxDB bboxDBClient = connectToServer();
Assert.assertTrue(bboxDBClient.toString().length() > 10);
Assert.assertTrue(bboxDBClient.getTuplesPerPage() >= -1);
bboxDBClient.isPagingEnabled();
disconnect(bboxDBClient);
}
use of org.bboxdb.network.client.BBoxDB in project bboxdb by jnidzwetzki.
the class TestBBoxDBCluster method before.
/**
* Re-create distribution group for each test
* @throws InterruptedException
* @throws BBoxDBException
*/
@Before
public void before() throws InterruptedException, BBoxDBException {
final BBoxDB bboxdbClient = connectToServer();
TestHelper.recreateDistributionGroup(bboxdbClient, DISTRIBUTION_GROUP);
disconnect(bboxdbClient);
}
use of org.bboxdb.network.client.BBoxDB in project bboxdb by jnidzwetzki.
the class TestBBoxDBCluster method testInsertedTimeQuery.
/**
* Execute the version inserted query
* @throws BBoxDBException
* @throws InterruptedException
*/
@Test(timeout = 60000)
public void testInsertedTimeQuery() throws InterruptedException, BBoxDBException {
final BBoxDB bboxDBClient = connectToServer();
NetworkQueryHelper.testInsertedTimeQuery(bboxDBClient, DISTRIBUTION_GROUP);
disconnect(bboxDBClient);
}
Aggregations