Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,136 for executors (0.15 sec)

  1. 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)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorTest.groovy

            and:
            requirement.classLoaderStructure.spec.classpath.contains(foo.toURI().toURL())
        }
    
        def "executor executes a given work action in a daemon"() {
            when:
            workerExecutor.processIsolation().submit(TestExecutable.class, Actions.doNothing())
    
            then:
            1 * workerThreadRegistry.workerThread >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 15:27:52 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/wrapper-main/src/crossVersionTest/groovy/org/gradle/integtests/wrapper/WrapperOldJavaCrossVersionIntegrationTest.groovy

            when:
            GradleExecuter executor = prepareWrapperExecuter(previous, current).withJavaHome(jdk.javaHome)
    
            then:
            def result = executor.usingExecutable('gradlew').withArgument('help').runWithFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

            outputContains "FINISH [Gradle Test Run :test] [Gradle Test Run :test]\n"
            result.output.readLines().find { it.matches "START \\[Gradle Test Executor \\d+] \\[Gradle Test Executor \\d+]" }
            result.output.readLines().find { it.matches "FINISH \\[Gradle Test Executor \\d+] \\[Gradle Test Executor \\d+]" }
            outputContains "START [Test suite 'Gradle suite'] [Gradle suite]\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        val defaultExecuter = "embedded"
    
        // For all the other executers, add an executer specific task
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {}
            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            // If the context's default exector is set to async, re-using that in
            // each thread would cause collectives to deadlock. For consistency we
            // create a new sync executor for every thread.
            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
            device_(device),
            executor_(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

            then:
            instant.thing == operation.thing.end
        }
    
        static class Worker {
            final Executor executor
            final Object lock = new Object()
            int count
    
            Worker(Executor executor) {
                this.executor = executor
            }
    
            void run(Runnable runnable, int timeoutSeconds) {
                def finished = new CountDownLatch(1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    fun createQuickFeedbackTasks() {
        val testType = TestType.CROSSVERSION
        val defaultExecuter = "embedded"
        val prefix = testType.prefix
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {
                this.setSystemPropertiesOfTestJVM("latest")
                this.systemProperties["org.gradle.integtest.crossVersion"] = "true"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/PlanExecutor.java

    @ThreadSafe
    public interface PlanExecutor {
        /**
         * Executes a {@link WorkSource}, blocking until complete.
         *
         * @param workSource the work to execute.
         * @param worker the actual executor responsible to execute the nodes. Must be thread-safe.
         */
        <T> ExecutionResult<Void> process(WorkSource<T> workSource, Action<T> worker);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top