Search in sources :

Example 26 with Environment

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

the class PravegaTest method initialize.

/**
 * This is used to setup the various services required by the system test framework.
 */
@Environment
public static void initialize() {
    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 27 with Environment

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

the class BookieFailoverTest 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 28 with Environment

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

the class ByteClientTest 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)

Example 29 with Environment

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

the class DynamicRestApiTest method initialize.

/**
 * This is used to setup the various services required by the system test framework.
 */
@Environment
public static void initialize() {
    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 30 with Environment

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

the class LargeEventTest method initialize.

/**
 * This is used to setup the various services required by the system test framework.
 */
@Environment
public static void initialize() {
    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