use of com.hazelcast.jet.JetTestInstanceFactory in project hazelcast-jet by hazelcast.
the class SlowSourceYieldTest method before.
@Before
public void before() {
factory = new JetTestInstanceFactory();
instance = factory.newMember();
}
use of com.hazelcast.jet.JetTestInstanceFactory in project hazelcast-jet by hazelcast.
the class ClientDeploymentTest method createCluster.
@Override
protected void createCluster() {
factory = new JetTestInstanceFactory();
JetConfig jetConfig = new JetConfig();
FilteringClassLoader filteringClassLoader = new FilteringClassLoader(singletonList("deployment"), null);
jetConfig.getHazelcastConfig().setClassLoader(filteringClassLoader);
factory.newMember(jetConfig);
client = factory.newClient();
}
use of com.hazelcast.jet.JetTestInstanceFactory in project hazelcast-jet by hazelcast.
the class DeploymentTest method createCluster.
@Override
protected void createCluster() {
factory = new JetTestInstanceFactory();
instance = factory.newMember();
JetConfig jetConfig = new JetConfig();
FilteringClassLoader filteringClassLoader = new FilteringClassLoader(singletonList("deployment"), null);
jetConfig.getHazelcastConfig().setClassLoader(filteringClassLoader);
factory.newMember(jetConfig);
}
Aggregations