| Package | Description |
|---|---|
| hydra |
Hydra is a test framework that makes it easy to create and run multiuser tests.
|
| Modifier and Type | Method and Description |
|---|---|
ClientRecord |
ClientVmRecord.getClient(int tid) |
ClientRecord |
ClientVmRecord.getRepresentativeClient() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Integer,ClientRecord> |
ClientVmRecord.getClients() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ClientVmRecord.addClient(ClientRecord cr) |
protected void |
BaseTaskScheduler.assignTask(ClientRecord client,
TestTask task)
Asks the client to execute the task.
|
static void |
DeadlockDetection.detectDeadlocks(ClientRecord failedClient) |
protected boolean |
BaseTaskScheduler.exceededMaxResultWaitSec(ClientRecord client,
long now)
Returns true if the client is still busy and has run out of time.
|
protected boolean |
ComplexTaskScheduler.hasTask(ClientRecord client,
long now)
returns whether the client has an eligible task
|
protected boolean |
BaseTaskScheduler.isFinished(ClientRecord client,
long now)
Returns true if a client has finished its task or encountered a failure.
|
void |
TestTask.logHangResult(ClientRecord client,
String msg) |
void |
JUnitTestTask.logHangResult(ClientRecord client,
String msg)
In addition to doing all of the usual logging when Hydra detects
that a test has hung, also write a file with a special name in
the DUnit "failures" directory.
|
protected void |
TestTask.logHangResult(ClientRecord client,
TestTaskResult result) |
protected static void |
ResultLogger.logHangResult(ClientRecord client,
TestTask task,
String msg)
Used by master to log a client hang in the master log.
|
protected static void |
ResultLogger.logHangResult(ClientRecord client,
TestTask task,
TestTaskResult result)
Used by master to log a client-reported hang in the master log.
|
protected void |
TestTask.logTaskResult(ClientRecord client,
TestTaskResult result) |
protected static void |
ResultLogger.logTaskResult(ClientRecord client,
TestTask task,
TestTaskResult result)
Used by master to log the task result reported by a client in the master
log.
|
boolean |
TestTask.receivedStopSchedulingTaskOnClientOrder(ClientRecord client) |
protected void |
TestTask.receiveStopSchedulingTaskOnClientOrder(ClientRecord client) |
protected boolean |
ComplexTaskScheduler.schedule(ClientRecord client,
long now,
ComplexTaskScheduler ts)
Schedules the client with the task, after rechecking under synchronization
that the client is still available for scheduling.
|
protected boolean |
SimpleTaskScheduler.schedule(ClientRecord client,
TestTask task,
long now)
Schedules the client with the task, if it is in the proper threadgroup
and has not thrown a stop scheduling order for it.
|
protected TestTask |
ComplexTaskScheduler.selectTask(ClientRecord client,
long now)
selects the best eligible task for the client to run
|
protected boolean |
SimpleTaskScheduler.terminateScheduling(ClientRecord client,
TestTask task,
int count,
long now)
True if it is time to stop scheduling a batched client.
|
protected long |
BaseTaskScheduler.waitForClientToFinish(ClientRecord client)
Waits for a client to finish its task or encounter a failure.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.