Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 488 for Parallel (0.23 sec)

  1. src/testing/fuzz.go

    // Unit tests and fuzz tests work a little differently, so for now, these
    // functions aren't consolidated. In particular, because there are no F.Run and
    // F.Parallel methods, i.e., no fuzz sub-tests or parallel fuzz tests, a few
    // simplifications are made. We also require that F.Fuzz, F.Skip, or F.Fail is
    // called.
    func fRunner(f *F, fn func(*F)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/invocation/IsolatedProjectEvaluationListenerProvider.java

        /**
         * Returns an isolated listener for the registered actions, if any. The listener makes it impossible for
         * the actions to carry any shared mutable state across projects and can be safely executed in parallel.
         */
        @Nullable
        ProjectEvaluationListener isolateFor(Gradle owner);
    
        /**
         * Discards any registered actions. This doesn't affect any {@link #isolateFor(Gradle) previously returned isolated listeners}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy

            then:
            failure.assertHasCause 'failure in c'
    
            and:
            jarsBuilt 'd'
            jarsNotBuilt 'a', 'b', 'c'
        }
    
        // 'c' + 'd' _may_ be built with parallel executer
        // test can't handle parallel task execution
        @Requires(IntegTestPreconditions.NotParallelOrConfigCacheExecutor)
        def "project dependency a->[b,c] and c->d and b fails"() {
            projectDependency from: 'a', to: ['b', 'c']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy

            if (!isRoot) {
                return null
            }
            """
            org.gradle.jvmargs=-Xms${config.daemonMemory} -Xmx${config.daemonMemory} -Dfile.encoding=UTF-8
            org.gradle.parallel=${config.parallel}
            org.gradle.workers.max=${config.maxWorkers}
            compilerMemory=${config.compilerMemory}
            testRunnerMemory=${config.testRunnerMemory}
            testForkEvery=${config.testForkEvery}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

            then:
            customGradleUserHome.exists()
            project.gradle.startParameter.gradleUserHomeDir == customGradleUserHome
        }
    
        def "can be used in parallel"() {
            def threads = 5
            def startSignal = new CountDownLatch(1)
            def doneSignal = new CountDownLatch(threads)
    
            when:
            threads.times {
                new Thread({
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.tasks.javadoc.Javadoc.maxMemory don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.Test.forkEvery don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.testng.TestNGOptions.parallel don't use symmetrical @Nullable
    Accessors for org.gradle.caching.http.HttpBuildCache.url don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGeneratorSpec.groovy

                buildOperationExecutor,
                "localhost")
            reportGenerator.xmlWriter = Mock(JUnitXmlResultWriter)
            return reportGenerator
        }
    
        def "writes results - #numThreads parallel thread(s)"() {
            generator = generatorWithMaxThreads(numThreads)
    
            def fooTest = new TestClassResult(1, 'FooTest', 100)
                .add(new TestMethodResult(1, "foo"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:07:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    == 5. `WorkerExecutor`
    
    link:{javadocPath}/org/gradle/workers/WorkerExecutor.html[`WorkerExecutor`] is a service that allows you to perform parallel execution of tasks using worker processes.
    This is particularly useful for tasks that perform CPU-intensive or long-running operations, as it allows them to be executed in parallel, improving build performance.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/go/printer/printer_test.go

    	{"gobuild7.input", "gobuild7.golden", idempotent},
    }
    
    func TestFiles(t *testing.T) {
    	t.Parallel()
    	for _, e := range data {
    		source := filepath.Join(dataDir, e.source)
    		golden := filepath.Join(dataDir, e.golden)
    		mode := e.mode
    		t.Run(e.source, func(t *testing.T) {
    			t.Parallel()
    			check(t, source, golden, mode)
    			// TODO(gri) check that golden is idempotent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. cluster/gce/upgrade.sh

            # Wait for each of the parallel node upgrades to finish.
            for pid in "${pids[@]}"; do
              wait "$pid"
              ret_code_sum=$(( ret_code_sum + $? ))
            done
            # Return even if at least one of the node upgrades failed.
            if [[ ${ret_code_sum} != 0 ]]; then
              echo "== Some of the ${node_upgrade_parallelism} parallel node upgrades failed. =="
              return ${ret_code_sum}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top