Class TestDistributionConfiguration_1_0
java.lang.Object
com.gradle.scan.eventmodel.gradle.testdistribution.TestDistributionConfiguration_1_0
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@GradleVersion(since="5.4")
@PluginVersion(since="3.14")
public class TestDistributionConfiguration_1_0
extends Object
implements com.gradle.scan.eventmodel.EventData
Captures the Test Distribution configuration for a test task.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intThe configured number of executors to use for running tests on build client.final @Nullable("if no maximum number of remote executors is set") IntegerThe configured number of remote executors that should be requested from the remote test execution infrastructure in order run the tests of this test task.final booleanWhether remote executors are tried first, falling back to local ones afterwaitTimeoutexpires.Configured requirements that need to be fulfilled by executors in order to execute the tests of this test task.final booleanDescribes whether the tests should be retried in the same JVM.final longThe ID of the test task the configuration is captured for.final longThe configuration duration the build waits for the remote test execution infrastructure to respond in milliseconds. -
Constructor Summary
ConstructorsConstructorDescriptionTestDistributionConfiguration_1_0(long task, int maxLocalExecutors, @Nullable Integer maxRemoteExecutors, boolean remoteExecutionPreferred, long waitTimeout, boolean retryInSameJvm, Set<String> requirements) -
Method Summary
-
Field Details
-
task
public final long taskThe ID of the test task the configuration is captured for.Corresponds to
TaskStarted_1_0.id. -
maxLocalExecutors
public final int maxLocalExecutorsThe configured number of executors to use for running tests on build client. -
maxRemoteExecutors
@Nullable("if no maximum number of remote executors is set") public final @Nullable("if no maximum number of remote executors is set") Integer maxRemoteExecutorsThe configured number of remote executors that should be requested from the remote test execution infrastructure in order run the tests of this test task. This setting has no default value (as many remote executors as possible are requested in that case). -
remoteExecutionPreferred
public final boolean remoteExecutionPreferredWhether remote executors are tried first, falling back to local ones afterwaitTimeoutexpires. -
waitTimeout
public final long waitTimeoutThe configuration duration the build waits for the remote test execution infrastructure to respond in milliseconds. -
retryInSameJvm
public final boolean retryInSameJvmDescribes whether the tests should be retried in the same JVM. -
requirements
Configured requirements that need to be fulfilled by executors in order to execute the tests of this test task.
-
-
Constructor Details
-
TestDistributionConfiguration_1_0
-
-
Method Details