OmniSciDB
a5dc49c757
|
Public Member Functions | |
List< SqlCommandThread[]> | createTestThreads () |
final SqlCommandThread[] | makeTests (final String threadName, final List< String > queries, final List< String > expectedExceptions, final List< String > cleanUpQueries, int numThreads) |
final SqlCommandThread[] | makeTests (final String threadName, final String query) |
final SqlCommandThread[] | makeTests (final String threadName, final String query, final String exception) |
final SqlCommandThread[] | makeTests (final String threadName, final String query, final List< String > exceptions) |
final SqlCommandThread[] | makeTests (final String threadName, final String query, final List< String > exceptions, final String cleanUpQueries) |
final SqlCommandThread[] | makeTests (final String threadName, final String query, final String exceptions, final String cleanUpQueries) |
void | setUpTests () throws Exception |
void | cleanUpTests (final List< SqlCommandThread[]> tests) throws Exception |
void | runTests (final List< SqlCommandThread[]> tests) throws Exception |
Public Member Functions inherited from com.mapd.tests.ConcurrencyTest | |
void | testConcurrency () throws Exception |
HeavyDBTestClient | getAdminClient (String db) throws Exception |
void | runAndLog (HeavyDBTestClient client, String sql) throws Exception |
Static Public Member Functions | |
static void | main (String[] args) throws Exception |
static void | configure () |
static Logger | getLogger () |
static String | getTestName () |
static List< String > | customizeQueriesByThreadId (final List< String > queries, int threadId) |
Static Public Member Functions inherited from com.mapd.tests.ConcurrencyTest | |
static boolean | deleteDirectory (File dir) |
static int[] | getPorts () |
static int | getNumThreads () |
static int | getNumIterations () |
static boolean | getEnableHeavyConnect () |
static boolean | getEnableMonitorThread () |
static String | getConfig () |
static CyclicBarrier | createBarrier (int numThreadsToWait) |
static void | printErrors (ArrayList< String > exceptionTexts) |
static int | getRandomPort () |
Static Package Attributes | |
static File | scratchDir |
static String | scratchDirPath |
Static Package Attributes inherited from com.mapd.tests.ConcurrencyTest | |
static final String | userName = "admin" |
static final String | password = "HyperInteractive" |
static final String | localhost = "localhost" |
static final String | defaultDb = "heavyai" |
static final int | defaultNumThreads = 5 |
static final int | defaultNumIterations = 5 |
static final boolean | defaultEnableMonitorThread = false |
static int | numIterations = defaultNumIterations |
static boolean | enableMonitorThread = defaultEnableMonitorThread |
static Random | rand = new Random() |
Additional Inherited Members | |
Public Attributes inherited from com.mapd.tests.ConcurrencyTest | |
CyclicBarrier | barrier |
ArrayList< String > | exceptionTexts = new ArrayList<String>() |
Static Public Attributes inherited from com.mapd.tests.ConcurrencyTest | |
static final String | db = "TestDB" |
static final int | defaultPort = 6274 |
static final boolean | defaultEnableHeavyConnect = true |
static int | numThreads = defaultNumThreads |
static boolean | enableHeavyConnect = defaultEnableHeavyConnect |
static Logger | logger = null |
static String | testName = "" |
static int[] | ports = null |
Definition at line 30 of file DdlConcurrencyTest.java.
|
inlinevirtual |
Implements com.mapd.tests.ConcurrencyTest.
Definition at line 286 of file DdlConcurrencyTest.java.
References com.mapd.tests.ConcurrencyTest.db, com.mapd.tests.ConcurrencyTest.defaultDb, com.mapd.tests.ConcurrencyTest.deleteDirectory(), com.mapd.tests.ConcurrencyTest.getAdminClient(), com.mapd.tests.ConcurrencyTest.runAndLog(), and com.mapd.tests.DdlConcurrencyTest.scratchDir.
|
inlinestatic |
Definition at line 43 of file DdlConcurrencyTest.java.
References com.mapd.tests.ConcurrencyTest.enableHeavyConnect, com.mapd.tests.ConcurrencyTest.enableMonitorThread, com.mapd.tests.ConcurrencyTest.getConfig(), com.mapd.tests.ConcurrencyTest.getEnableHeavyConnect(), com.mapd.tests.ConcurrencyTest.getEnableMonitorThread(), com.mapd.tests.DdlConcurrencyTest.getLogger(), com.mapd.tests.ConcurrencyTest.getNumIterations(), com.mapd.tests.ConcurrencyTest.getNumThreads(), com.mapd.tests.ConcurrencyTest.getPorts(), com.mapd.tests.DdlConcurrencyTest.getTestName(), com.mapd.tests.ConcurrencyTest.logger, com.mapd.tests.ConcurrencyTest.numIterations, com.mapd.tests.ConcurrencyTest.numThreads, com.mapd.tests.ConcurrencyTest.ports, and com.mapd.tests.ConcurrencyTest.testName.
Referenced by com.mapd.tests.DdlConcurrencyTest.main().
|
inlinevirtual |
Implements com.mapd.tests.ConcurrencyTest.
Definition at line 63 of file DdlConcurrencyTest.java.
References com.mapd.tests.ConcurrencyTest.db, com.mapd.tests.ConcurrencyTest.enableHeavyConnect, com.mapd.tests.DdlConcurrencyTest.makeTests(), and com.mapd.tests.DdlConcurrencyTest.scratchDirPath.
|
inlinestatic |
Definition at line 179 of file DdlConcurrencyTest.java.
Referenced by com.mapd.tests.DdlConcurrencyTest.makeTests().
|
inlinestatic |
Definition at line 54 of file DdlConcurrencyTest.java.
Referenced by com.mapd.tests.DdlConcurrencyTest.configure().
|
inlinestatic |
Definition at line 58 of file DdlConcurrencyTest.java.
Referenced by com.mapd.tests.DdlConcurrencyTest.configure().
|
inlinestatic |
Definition at line 34 of file DdlConcurrencyTest.java.
References com.mapd.tests.DdlConcurrencyTest.configure(), com.mapd.tests.DdlConcurrencyTest.scratchDir, and com.mapd.tests.DdlConcurrencyTest.scratchDirPath.
|
inline |
Definition at line 189 of file DdlConcurrencyTest.java.
References com.mapd.tests.DdlConcurrencyTest.customizeQueriesByThreadId(), and com.mapd.tests.ConcurrencyTest.numThreads.
Referenced by com.mapd.tests.DdlConcurrencyTest.createTestThreads(), and com.mapd.tests.DdlConcurrencyTest.makeTests().
|
inline |
Definition at line 205 of file DdlConcurrencyTest.java.
References com.mapd.tests.DdlConcurrencyTest.makeTests(), and com.mapd.tests.ConcurrencyTest.numThreads.
|
inline |
Definition at line 214 of file DdlConcurrencyTest.java.
References com.mapd.tests.DdlConcurrencyTest.makeTests(), and com.mapd.tests.ConcurrencyTest.numThreads.
|
inline |
Definition at line 224 of file DdlConcurrencyTest.java.
References com.mapd.tests.DdlConcurrencyTest.makeTests(), and com.mapd.tests.ConcurrencyTest.numThreads.
|
inline |
Definition at line 234 of file DdlConcurrencyTest.java.
References com.mapd.tests.DdlConcurrencyTest.makeTests(), and com.mapd.tests.ConcurrencyTest.numThreads.
|
inline |
Definition at line 246 of file DdlConcurrencyTest.java.
References com.mapd.tests.DdlConcurrencyTest.makeTests(), and com.mapd.tests.ConcurrencyTest.numThreads.
|
inlinevirtual |
Implements com.mapd.tests.ConcurrencyTest.
Definition at line 304 of file DdlConcurrencyTest.java.
References com.mapd.tests.ConcurrencyTest.barrier, com.mapd.tests.ConcurrencyTest.createBarrier(), com.mapd.tests.ConcurrencyTest.enableMonitorThread, com.mapd.tests.ConcurrencyTest.exceptionTexts, com.mapd.tests.ConcurrencyTest.numThreads, and com.mapd.tests.ConcurrencyTest.printErrors().
|
inlinevirtual |
Implements com.mapd.tests.ConcurrencyTest.
Definition at line 258 of file DdlConcurrencyTest.java.
References com.mapd.tests.ConcurrencyTest.db, com.mapd.tests.ConcurrencyTest.defaultDb, com.mapd.tests.ConcurrencyTest.enableHeavyConnect, com.mapd.tests.ConcurrencyTest.getAdminClient(), and com.mapd.tests.ConcurrencyTest.runAndLog().
|
staticpackage |
Definition at line 31 of file DdlConcurrencyTest.java.
Referenced by com.mapd.tests.DdlConcurrencyTest.cleanUpTests(), and com.mapd.tests.DdlConcurrencyTest.main().
|
staticpackage |
Definition at line 32 of file DdlConcurrencyTest.java.
Referenced by com.mapd.tests.DdlConcurrencyTest.createTestThreads(), and com.mapd.tests.DdlConcurrencyTest.main().