RemoteDynamicPool
public
class
RemoteDynamicPool
extends Object
implements
ITestsPool
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.RemoteDynamicPool |
Implementation of a pool of remote work queued tests
Summary
Nested classes | |
---|---|
class |
RemoteDynamicPool.RequestCallable
|
Public methods | |
---|---|
int
|
getAttemptNumber(ITestSuite test)
|
static
RemoteDynamicPool
|
newInstance(IDynamicShardingClient client, String poolId,
|
IRemoteTest
|
poll(TestInformation info, boolean reportNotExecuted)
Poll the next test to be executed. |
ITokenRequest
|
pollRejectedTokenModule()
Returns the list of test that was rejected to run on all devices. |
void
|
returnToRemotePool(ITestSuite test, int attemptNumber)
|
Public methods
getAttemptNumber
public int getAttemptNumber (ITestSuite test)
Parameters | |
---|---|
test |
ITestSuite |
Returns | |
---|---|
int |
newInstance
public static RemoteDynamicPool newInstance (IDynamicShardingClient client, String poolId,moduleMapping)
Parameters | |
---|---|
client |
IDynamicShardingClient |
poolId |
String |
moduleMapping |
|
Returns | |
---|---|
RemoteDynamicPool |
poll
public IRemoteTest poll (TestInformation info, boolean reportNotExecuted)
Poll the next test to be executed.
Parameters | |
---|---|
info |
TestInformation |
reportNotExecuted |
boolean |
Returns | |
---|---|
IRemoteTest |
pollRejectedTokenModule
public ITokenRequest pollRejectedTokenModule ()
Returns the list of test that was rejected to run on all devices.
Returns | |
---|---|
ITokenRequest |
returnToRemotePool
public void returnToRemotePool (ITestSuite test, int attemptNumber)
Parameters | |
---|---|
test |
ITestSuite |
attemptNumber |
int |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-07-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-07-02 UTC."}