Google is committed to advancing racial equity for Black communities. See how.

IShardHelper

public interface IShardHelper

com.android.tradefed.invoker.shard.IShardHelper


Interface of an object that describes the sharding strategy to adopt for a configuration.

Summary

Public methods

abstract boolean shardConfig(IConfiguration config, TestInformation testInfo, IRescheduler rescheduler, ITestLogger logger)

Shard and reschedule the shard if possible.

Public methods

shardConfig

public abstract boolean shardConfig (IConfiguration config, 
                TestInformation testInfo, 
                IRescheduler rescheduler, 
                ITestLogger logger)

Shard and reschedule the shard if possible.

Parameters
config IConfiguration: a IConfiguration to be run.

testInfo TestInformation: the TestInformation of the current invocation.

rescheduler IRescheduler: the IRescheduler where to reschedule the shards.

logger ITestLogger

Returns
boolean True if the configuration was sharded. false otherwise.