use of org.opendaylight.openflowplugin.openflow.md.core.ThreadPoolLoggingExecutor in project openflowplugin by opendaylight.
the class OFPluginFlowTest method setUp.
/**
* test setup
* @throws InterruptedException
*/
@Before
public void setUp() throws InterruptedException {
LOG.debug("openflowPluginProvider: " + openflowPluginProvider);
scenarioPool = new ThreadPoolLoggingExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, SCENARIO_POOL_QUEUE, "scenario");
// FIXME: plugin should provide service exposing startup result via future
Thread.sleep(5000L);
}
use of org.opendaylight.openflowplugin.openflow.md.core.ThreadPoolLoggingExecutor in project openflowplugin by opendaylight.
the class SalIntegrationTest method setUp.
/**
* test setup
* @throws InterruptedException
*/
@Before
public void setUp() throws InterruptedException {
switchSim = new SimpleClient("localhost", 6653);
scenarioPool = new ThreadPoolLoggingExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, SCENARIO_POOL_QUEUE, "scenario");
Thread.sleep(5000L);
}
use of org.opendaylight.openflowplugin.openflow.md.core.ThreadPoolLoggingExecutor in project openflowplugin by opendaylight.
the class OFPluginToLibraryTest method setUp.
/**
* test setup
* @throws InterruptedException
*/
@Before
public void setUp() throws InterruptedException {
LOG.debug("openflowPluginProvider: " + openflowPluginProvider);
switchSim = createSimpleClient();
scenarioPool = new ThreadPoolLoggingExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, SCENARIO_POOL_QUEUE, "scenario");
Thread.sleep(5000L);
}
Aggregations