Class UniformSharding
Uniformly shards test cases given a total number of shards. For Android instrumentation tests, it will be
translated to -e numShard and -e shardIndex AndroidJUnitRunner arguments. With uniform sharding enabled,
specifying either of these sharding arguments via environment_variables is invalid. There is no guarantee that
test cases will be distributed uniformly across all shards.
Implements
Inherited Members
Namespace: Google.Apis.DeviceRun.v1alpha.Data
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class UniformSharding : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ShardCount
Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. Limits: - For physical devices, the number of shards must be <= 20. - For virtual devices, the number of shards must be <= 200.
Declaration
[JsonProperty("shardCount")]
public virtual int? ShardCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |