Struct google_testing1::api::ManualSharding [−][src]
pub struct ManualSharding {
pub test_targets_for_shard: Option<Vec<TestTargetsForShard>>,
}Expand description
Shards test cases into the specified groups of packages, classes, and/or methods. With manual sharding enabled, specifying test targets via environment_variables or in InstrumentationTest is invalid.
This type is not used in any activity, and only used as part of another schema.
Fields
test_targets_for_shard: Option<Vec<TestTargetsForShard>>Required. Group of packages, classes, and/or test methods to be run for each shard. When any physical devices are selected, the number of test_targets_for_shard must be >= 1 and <= 50. When no physical devices are selected, the number must be >= 1 and <= 500.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ManualSharding
impl Send for ManualSharding
impl Sync for ManualSharding
impl Unpin for ManualSharding
impl UnwindSafe for ManualSharding
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more