Home | Trees | Indices | Help |
|
---|
|
Represents a single test scenario within a test. A scenario has 1 or more Nodes, and an arbitrary number of processes
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
LOCALHOST = <test_ospl.TestNode instance at 0x7fcdf88c>
|
|
Check the TestScenario requirements can be satisfied by the TestRun it is within. If it can't it will throw an error and the scenario should be recorded as skipped. |
Gets a new node definition from the scenario. Will be a new node iff the scenario has enough for it to be so. |
Returns a unique port. Used to make soure Process instances' IPC can be initialised in a non conflicting manner. |
Get the default working directory for this scenario on the given Node. Assumes this scenario directory is under the usual test root and is named as per convention. |
Checks the requirements of the whole TestScenario are met by the TestRun it is within. Will actually have build and load the test processes in some embedded circumstances if there's no other alternative. Scenario should exit if this does not return True. No changes should be made to the scenario after this. |
Specify that this test scenario requires a *minimum* number of nodes to do its thing. The default is 1 i.e. single node. If your test cannot operate at all on one node specify an appropriate higher value. Do *not* specify a higher value just because the test is less meaningful on less. Keep this value as low as possible. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 30 13:48:07 2010 | http://epydoc.sourceforge.net |