use of org.apache.ignite.testframework.GridSpiTestContext in project ignite by apache.
the class GridAdaptiveLoadBalancingSpiSelfTest method initSpiContext.
/**
* {@inheritDoc}
*/
@Override
protected GridSpiTestContext initSpiContext() throws Exception {
GridSpiTestContext ctx = super.initSpiContext();
ctx.setLocalNode(new GridTestNode(UUID.randomUUID()));
return ctx;
}
use of org.apache.ignite.testframework.GridSpiTestContext in project ignite by apache.
the class GridRoundRobinLoadBalancingNotPerTaskMultithreadedSelfTest method initSpiContext.
/**
* {@inheritDoc}
*/
@Override
protected GridSpiTestContext initSpiContext() throws Exception {
GridSpiTestContext spiCtx = super.initSpiContext();
spiCtx.createLocalNode();
spiCtx.createRemoteNodes(10);
return spiCtx;
}
use of org.apache.ignite.testframework.GridSpiTestContext in project ignite by apache.
the class GridRoundRobinLoadBalancingSpiMultipleNodesSelfTest method initSpiContext.
/**
* {@inheritDoc}
*/
@Override
protected GridSpiTestContext initSpiContext() throws Exception {
GridSpiTestContext spiCtx = super.initSpiContext();
spiCtx.createLocalNode();
spiCtx.createRemoteNodes(10);
return spiCtx;
}
use of org.apache.ignite.testframework.GridSpiTestContext in project ignite by apache.
the class GridRoundRobinLoadBalancingSpiNotPerTaskSelfTest method initSpiContext.
/**
* {@inheritDoc}
*/
@Override
protected GridSpiTestContext initSpiContext() throws Exception {
GridSpiTestContext spiCtx = super.initSpiContext();
spiCtx.createLocalNode();
spiCtx.createRemoteNodes(10);
return spiCtx;
}
use of org.apache.ignite.testframework.GridSpiTestContext in project ignite by apache.
the class GridRoundRobinLoadBalancingSpiTopologyChangeSelfTest method initSpiContext.
/**
* {@inheritDoc}
*/
@Override
protected GridSpiTestContext initSpiContext() throws Exception {
GridSpiTestContext spiCtx = super.initSpiContext();
spiCtx.createLocalNode();
spiCtx.createRemoteNodes(10);
return spiCtx;
}
Aggregations