DaemonParametersTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Ignore failing test for now"

This reverts commit 09f28a51ae9b673d8693b07b93f7a66cf31af982.

  1. … 1 more file in changeset.
Revert "Ignore failing test for now"

This reverts commit 09f28a51ae9b673d8693b07b93f7a66cf31af982.

  1. … 1 more file in changeset.
Revert "Ignore failing test for now"

This reverts commit 90e15b3e55fbba276f94e96aea8bfed7ab9fa85a.

  1. … 1 more file in changeset.
  1. … 1 more file in changeset.
  1. … 1 more file in changeset.
Print properties

Replace some direct usages of `DefaultConfigurableFileCollection` with `FileCollectionFactory`.

  1. … 50 more files in changeset.
Replace some direct usages of `DefaultConfigurableFileCollection` with `FileCollectionFactory`.

  1. … 50 more files in changeset.
Adjust tests to Java 8 default daemon args changes (#2310)

  1. … 1 more file in changeset.
Enable Gradle Daemon by default

  1. … 21 more files in changeset.
Use newer agentlib:jdwp JVMTI interface in debugger options

- replace usage of deprecated pre-JDK 5 JVMDI interface arguments

- see http://docs.oracle.com/javase/6/docs/technotes/guides/jpda/conninv.html#Invocation

- GRADLE-3459

+review REVIEW-6017

  1. … 6 more files in changeset.
Daemon should exit when registry unavailable. REVIEW-5910

Allow periodic check interval to be set via CLI options.

Composite periodic check stops daemon if any expiration conditions

met, including idle timeout and registry unavailable.

  1. … 24 more files in changeset.
change tmpdir behaviour or daemon

- only set tmpdir explicitly when it was configured as an explicit input argument

- adapt couple of integ tests to reflect this behaviour

  1. … 11 more files in changeset.
next try to handle tmp directory as imutable property of the daemon

  1. … 9 more files in changeset.
Removing uid from DaemonParameters and moving it to startup.

+review REVIEW-5825

  1. … 3 more files in changeset.
Test coverage for daemonParameters.resetUid()

+review REVIEW-5825

Fixing regression where "-Dorg.gradle.debug=true" does not have an effect

+review REVIEW-5668

  1. … 1 more file in changeset.
Don't include `-XX:MaxPermSize` in the default JVM args for the daemon when the target is >= Java 9.

This means that the daemon and tooling API now work with Java 9, when no JVM args specified.

  1. … 6 more files in changeset.
Changed DeamonParameters to use `JavaInfo` instances instead of File java home to represent the target JVM for build execution.

  1. … 10 more files in changeset.
Cleanup of NativeServices testing changes - Changed use of NativeServicesTestFixture to annotation in many cases - Centralized temp dir creation logic - Enhanced uninitialized NativeServices error message

+review REVIEW-5378

  1. … 41 more files in changeset.
Initializing native services for more broken tests

+review REVIEW-5378

  1. … 11 more files in changeset.
Promote DaemonUsage to top level and use it instead of multiple boolean flags.

+review REVIEW-5426

  1. … 12 more files in changeset.
Print a message suggesting using the daemon when it's not used and has not been explicitly disabled.

+review REVIEW-5426

  1. … 18 more files in changeset.
GRADLE-3145 - Respect command line system properties that represent immutable JVM runtime options (e.g. file.encoding).

There should now be no difference between such a property being set on the command line, environment vars, or gradle.properties.

+review REVIEW-5061

  1. … 6 more files in changeset.
Don't support the “script” component of the default locale as it's Java 7 only.

We should support it, but it's going to take a lot more work.

+review REVIEW-5061

  1. … 5 more files in changeset.
Expand test time support for setting language to the full locale, and respect locale settings when finding a compatible daemon.

+review REVIEW-5061

  1. … 21 more files in changeset.
Removed cycle between BuildLayoutParameters and StartParameter. Also changed StartParameter.DEFAULT_GRADLE_USER_HOME so that it considers the system and environment variables that affect user home (via BuildLayoutParameters).

  1. … 8 more files in changeset.
REVIEW-1198 Refactored the commandline / properties conversion in order to tidy up the internals.

  1. … 27 more files in changeset.
Configure on demand. Some refactorings & reworking of the coverage.

Now the BuildActionsFactoryTest is not influenced by gradle.properties file present in local dev environment. Moved some coverage to more relevant spot (e.g. the properties precedence order moved to GradlePropertiesConfigurerTest).

  1. … 5 more files in changeset.
configure on demand - reworked one of the tests, added missing coverage.