TestMatrix

class TestMatrix : KotlinCustomResource

Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. That happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Properties

Link copied to clipboard

Information about the client which invoked the test.

Link copied to clipboard

The devices the tests are being executed on.

Link copied to clipboard
val failFast: Output<Boolean>

If true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices and support is more limited because of that expectation.

Link copied to clipboard
val flakyTestAttempts: Output<Int>

The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which implies no reruns.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state.

Link copied to clipboard
val outcomeSummary: Output<String>

Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val requestId: Output<String>?

A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.

Link copied to clipboard

Where the results for the matrix are written.

Link copied to clipboard
val state: Output<String>

Indicates the current progress of the test matrix.

Link copied to clipboard

The list of test executions that the service creates for this matrix.

Link copied to clipboard
val testMatrixId: Output<String>

Unique id set by the service.

Link copied to clipboard

How to run the test.

Link copied to clipboard
val timestamp: Output<String>

The time this test matrix was initially created.

Link copied to clipboard
val urn: Output<String>