Search in sources :

Example 6 with ILibraryManager

use of org.apache.asterix.common.library.ILibraryManager in project asterixdb by apache.

the class LangExecutionUtil method setUp.

public static void setUp(String configFile, TestExecutor executor) throws Exception {
    testExecutor = executor;
    File outdir = new File(PATH_ACTUAL);
    outdir.mkdirs();
    List<ILibraryManager> libraryManagers = ExecutionTestUtil.setUp(cleanupOnStart, configFile);
    TestLibrarian.removeLibraryDir();
    librarian = new TestLibrarian(libraryManagers);
    testExecutor.setLibrarian(librarian);
    if (repeat != 1) {
        System.out.println("FYI: each test will be run " + repeat + " times.");
    }
}
Also used : ILibraryManager(org.apache.asterix.common.library.ILibraryManager) File(java.io.File) TestLibrarian(org.apache.asterix.app.external.TestLibrarian)

Aggregations

ILibraryManager (org.apache.asterix.common.library.ILibraryManager)6 File (java.io.File)3 INcApplicationContext (org.apache.asterix.common.api.INcApplicationContext)2 HyracksDataException (org.apache.hyracks.api.exceptions.HyracksDataException)2 IOException (java.io.IOException)1 RemoteException (java.rmi.RemoteException)1 ArrayList (java.util.ArrayList)1 ActiveLifecycleListener (org.apache.asterix.active.ActiveLifecycleListener)1 StatementExecutorContext (org.apache.asterix.api.http.ctx.StatementExecutorContext)1 CCExtensionManager (org.apache.asterix.app.cc.CCExtensionManager)1 ResourceIdManager (org.apache.asterix.app.cc.ResourceIdManager)1 TestLibrarian (org.apache.asterix.app.external.TestLibrarian)1 AsterixThreadFactory (org.apache.asterix.common.api.AsterixThreadFactory)1 MetadataProperties (org.apache.asterix.common.config.MetadataProperties)1 IStorageComponentProvider (org.apache.asterix.common.context.IStorageComponentProvider)1 ACIDException (org.apache.asterix.common.exceptions.ACIDException)1 AsterixException (org.apache.asterix.common.exceptions.AsterixException)1 RuntimeDataException (org.apache.asterix.common.exceptions.RuntimeDataException)1 IFaultToleranceStrategy (org.apache.asterix.common.replication.IFaultToleranceStrategy)1 IReplicationStrategy (org.apache.asterix.common.replication.IReplicationStrategy)1