Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 806 for executors (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         */
        GradleDistribution getDistribution();
    
        /**
         * Copies the settings from this executer to the given executer.
         *
         * @param executer The executer to copy to
         * @return The passed in executer
         */
        GradleExecuter copyTo(GradleExecuter executer);
    
        /**
         * Where possible, starts the Gradle build process in debug mode with the provided options.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

            .body("def")
            .throttleBody(1, 750, TimeUnit.MILLISECONDS)
            .build(),
        )
        val call = client.newCall(Request(server.url("/a")))
        val executor = Executors.newSingleThreadExecutor()
        val result = executor.submit<Response?> { call.execute() }
        Thread.sleep(100) // wait for it to go in flight.
        call.cancel()
        assertFailsWith<IOException> {
          result.get()!!.body.bytes()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultConditionalExecutionQueue.java

            this.workerLimits = workerLimits;
            this.workerLeaseService = workerLeaseService;
            this.executor = executorFactory.create(displayName);
    
            executor.setKeepAlive(KEEP_ALIVE_TIME_MS, TimeUnit.MILLISECONDS);
        }
    
        @Override
        public void submit(ConditionalExecution<T> execution) {
            if (queueState == QueueState.Stopped) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

                module == 'test'
                version == '4.2'
            }
    
            List<BuildOperationRecord> executions = getTransformExecutions()
            executions.size() == 2
            def projectExecution = executions.find { it.details.identity == projectTransformIdentification.identity }
            def externalExecution = executions.find { it.details.identity == externalTransformIdentification.identity }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CrossVersionIntegrationSpec.groovy

        }
    
        GradleExecuter version(GradleDistribution dist) {
            def executer = dist.executer(temporaryFolder, IntegrationTestBuildContext.INSTANCE)
            if (gradleUserHomeDir) {
                executer.withGradleUserHomeDir(gradleUserHomeDir)
            }
            executer.inDirectory(testDirectory)
            executers << executer
            return executer
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            then:
            outputContains("Test executor initialized Native services: false")
            outputContains("Build inside a test executor initialized Native services: true")
            outputContains("Build inside a test executor uses Native services: true")
        }
    
        def "daemon with different native services flag is not reused"() {
            given:
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultConditionalExecutionQueueTest.groovy

        }
    
        def "stopping the queue stops the underlying executor"() {
            ExecutorFactory factory = Mock(ExecutorFactory)
            ManagedExecutor executor = Mock(ManagedExecutor)
    
            when:
            queue = new DefaultConditionalExecutionQueue(DISPLAY_NAME, workerLimits, factory, workerLeaseService)
    
            then:
            1 * factory.create(_) >> executor
    
            when:
            queue.stop()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

    import org.gradle.integtests.fixtures.executer.ArtifactBuilder
    import org.gradle.integtests.fixtures.executer.ExecutionFailure
    import org.gradle.integtests.fixtures.executer.ExecutionResult
    import org.gradle.integtests.fixtures.executer.GradleBackedArtifactBuilder
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.integtests.fixtures.executer.GradleDistribution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

            executer.gradleUserHomeDir.file('init.gradle') << 'println "greetings from user home"'
    
            when:
            run()
    
            then:
            output.contains("greetings from user home")
        }
    
        def "executes init scripts from init.d directory in user home dir in alphabetical order"() {
            given:
            executer.requireOwnGradleUserHomeDir()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpec.groovy

        final BlockTarget waitFor = new BlockTarget(instant)
    
        public final TestExecutor executor = new TestExecutor(logger)
        public final TestExecutorFactory executorFactory = new TestExecutorFactory(executor)
    
        def setup() {
            instant.mainThread(Thread.currentThread())
        }
    
        def cleanup() {
            try {
                executor.stop(new Date(System.currentTimeMillis() + 5000))
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top