Search in sources :

Example 1 with MistTaskConfigs

use of edu.snu.mist.core.configs.MistTaskConfigs in project mist by snuspl.

the class QueryManagerTest method testSubmitComplextQueryInMIST.

// TODO: Re-enable this test
// @Test(timeout = 10000)
public void testSubmitComplextQueryInMIST() throws Exception {
    final JavaConfigurationBuilder jcb = Tang.Factory.getTang().newConfigurationBuilder();
    jcb.bindNamedParameter(ClientToTaskPort.class, "20338");
    jcb.bindNamedParameter(DefaultNumEventProcessors.class, "4");
    final Injector injector = Tang.Factory.getTang().newInjector(jcb.build());
    final MistTaskConfigs taskConfigs = injector.getInstance(MistTaskConfigs.class);
    testSubmitComplexQueryHelper(taskConfigs.getConfiguration());
}
Also used : Injector(org.apache.reef.tang.Injector) MistTaskConfigs(edu.snu.mist.core.configs.MistTaskConfigs) JavaConfigurationBuilder(org.apache.reef.tang.JavaConfigurationBuilder)

Aggregations

MistTaskConfigs (edu.snu.mist.core.configs.MistTaskConfigs)1 Injector (org.apache.reef.tang.Injector)1 JavaConfigurationBuilder (org.apache.reef.tang.JavaConfigurationBuilder)1