use of com.instaclustr.operations.OperationsService in project esop by instaclustr.
the class ManifestTest method setup.
@BeforeMethod
public void setup() throws Exception {
final List<Module> modules = new ArrayList<Module>() {
{
add(new KubernetesApiModule());
add(new ExecutorsModule());
add(new CassandraModule());
add(new JacksonModule());
}
};
final Injector injector = Guice.createInjector(modules);
injector.injectMembers(this);
operationsService = new OperationsService(executorServiceSupplier.get());
cassandra = getCassandra();
cassandra.start();
waitForCql();
session = CqlSession.builder().build();
}
Aggregations