Show / Hide Table of Contents

Class RetrySettingsFlakyTestRetryStrategy

Default retry strategy. It will retry on test failures for up to flaky_test_attempts (including the initial run). It also retries on infra issues for up to 2 attempts (including the initial run). So in total, an execution can run up to flaky_test_attempts * 2 times in the worst case.

Inheritance
object
RetrySettingsFlakyTestRetryStrategy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DeviceRun.v1alpha.Data
Assembly: Google.Apis.DeviceRun.v1alpha.dll
Syntax
public class RetrySettingsFlakyTestRetryStrategy : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FlakyTestAttempts

Required. The total attempts for flaky tests, including the initial run. Default value: 1 (no retry). Range: [1, 5].

Declaration
[JsonProperty("flakyTestAttempts")]
public virtual int? FlakyTestAttempts { get; set; }
Property Value
Type Description
int?

ParallelRetry

Optional. Whether to retry the test failures in parallel. By default, the test is retried sequentially. If true, when the initial attempt fails, (flaky_test_attempts - 1) attempts will be triggered at the same time to run in parallel.

Declaration
[JsonProperty("parallelRetry")]
public virtual bool? ParallelRetry { get; set; }
Property Value
Type Description
bool?

TestReductionMode

Optional. The mode of test reduction for retry. If the test runner doesn't support the specified test reduction mode, the request will be rejected with an INVALID_ARGUMENT error.

Declaration
[JsonProperty("testReductionMode")]
public virtual string TestReductionMode { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX