Search in sources :

Example 31 with Environment

use of io.pravega.test.system.framework.Environment in project pravega by pravega.

the class MultiReaderWriterWithFailOverTest method initialize.

@Environment
public static void initialize() throws MarathonException, ExecutionException {
    URI zkUri = startZookeeperInstance();
    startBookkeeperInstances(zkUri);
    URI controllerUri = startPravegaControllerInstances(zkUri, 3);
    startPravegaSegmentStoreInstances(zkUri, controllerUri, 3);
}
Also used : URI(java.net.URI) Environment(io.pravega.test.system.framework.Environment)

Example 32 with Environment

use of io.pravega.test.system.framework.Environment in project pravega by pravega.

the class ReadTxnWriteAutoScaleWithFailoverTest method initialize.

@Environment
public static void initialize() throws MarathonException, ExecutionException {
    URI zkUri = startZookeeperInstance();
    startBookkeeperInstances(zkUri);
    URI controllerUri = startPravegaControllerInstances(zkUri, 3);
    startPravegaSegmentStoreInstances(zkUri, controllerUri, 3);
}
Also used : URI(java.net.URI) Environment(io.pravega.test.system.framework.Environment)

Example 33 with Environment

use of io.pravega.test.system.framework.Environment in project pravega by pravega.

the class ReadWriteAndScaleWithFailoverTest method initialize.

@Environment
public static void initialize() throws MarathonException, ExecutionException {
    URI zkUri = startZookeeperInstance();
    startBookkeeperInstances(zkUri);
    URI controllerUri = startPravegaControllerInstances(zkUri, 3);
    startPravegaSegmentStoreInstances(zkUri, controllerUri, 3);
}
Also used : URI(java.net.URI) Environment(io.pravega.test.system.framework.Environment)

Example 34 with Environment

use of io.pravega.test.system.framework.Environment in project pravega by pravega.

the class RetentionTest method initialize.

/**
 * This is used to setup the various services required by the system test framework.
 *
 * @throws MarathonException    when error in setup
 */
@Environment
public static void initialize() throws MarathonException {
    URI zkUri = startZookeeperInstance();
    startBookkeeperInstances(zkUri);
    URI controllerUri = ensureControllerRunning(zkUri);
    ensureSegmentStoreRunning(zkUri, controllerUri);
}
Also used : URI(java.net.URI) Environment(io.pravega.test.system.framework.Environment)

Example 35 with Environment

use of io.pravega.test.system.framework.Environment in project pravega by pravega.

the class StreamCutsTest method initialize.

/**
 * This is used to setup the services required by the system test framework.
 *
 * @throws MarathonException When error in setup.
 */
@Environment
public static void initialize() throws MarathonException {
    URI zkUri = startZookeeperInstance();
    startBookkeeperInstances(zkUri);
    URI controllerUri = ensureControllerRunning(zkUri);
    ensureSegmentStoreRunning(zkUri, controllerUri);
}
Also used : URI(java.net.URI) Environment(io.pravega.test.system.framework.Environment)

Aggregations

Environment (io.pravega.test.system.framework.Environment)35 URI (java.net.URI)29 Service (io.pravega.test.system.framework.services.Service)11 ExecutionException (java.util.concurrent.ExecutionException)3 ScheduledExecutorService (java.util.concurrent.ScheduledExecutorService)3 PravegaControllerService (io.pravega.test.system.framework.services.marathon.PravegaControllerService)1