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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-02 UTC."],[],[]]