Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 724 for Parallel (0.14 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftParallelExecutionIntegrationTest.groovy

             """
        }
    
        def "link task is executed in parallel"() {
            createTaskThatRunsInParallelUsingCustomToolchainWith("linkDebug")
    
            when:
            succeeds "assemble", "parallelTask"
    
            then:
            assertTaskIsParallel("linkDebug")
        }
    
        def "compile task is executed in parallel"() {
            createTaskThatRunsInParallelUsingCustomToolchainWith("compileDebugSwift")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

                            output.text = String.valueOf(input.length())
                        }
                    }
                """
            }
        }
    
        def "transformations are applied in parallel for each external dependency artifact"() {
            def m1 = mavenRepo.module("test", "test", "1.3").publish()
            m1.artifactFile.text = "1234"
            def m2 = mavenRepo.module("test", "test2", "2.3").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

        def "can handle parallel test execution"() {
            given:
            def numTestClasses = 32
            buildScriptWithJupiterDependencies("""
                test {
                    useJUnitPlatform()
                    systemProperty('junit.jupiter.execution.parallel.enabled', 'true')
                    systemProperty('junit.jupiter.execution.parallel.config.strategy', 'fixed')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/optimizing-performance/performance.adoc

    image::performance/parallel-task-slow.png[title="Bottleneck in parallel execution"]
    
    Tweaking the build configuration to run the two slow tasks early on and in parallel
    reduces the overall build time from 8 seconds to 5 seconds:
    
    image::performance/parallel-task-fast.png[title="Optimized parallel execution"]
    
    [[enable_daemon]]
    == Re-enable the Gradle Daemon
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. src/os/stat_test.go

    	}
    
    	if !os.SameFile(fi, fi2) {
    		t.Errorf("os.Open(%q).Stat() and os.Stat(%q) are not the same file", link, link)
    	}
    }
    
    func TestDirAndSymlinkStats(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    	dir := filepath.Join(tmpdir, "dir")
    	if err := os.Mkdir(dir, 0777); err != nil {
    		t.Fatal(err)
    	}
    	testDirStats(t, dir)
    
    	dirlink := filepath.Join(tmpdir, "link")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/ConsoleTestNGUnsupportedTestWorkerFunctionalTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            executer.withConsole(ConsoleOutput.Rich)
            executer.withArguments('--parallel', "--max-workers=$MAX_WORKERS")
            server.start()
        }
    
        def "omits parallel test execution if TestNG version does not emit class listener events"() {
            given:
            buildFile << """
                plugins {
                    id 'java-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelSuiteIntegrationTest.groovy

            file("suite.xml") << """<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
    <suite name="AwesomeSuite" parallel="tests" thread-count="${threadCount}">
      $suiteXml
    </suite>"""
        }
    
        @Issue("GRADLE-3190")
        def "runs with multiple parallel threads"() {
            given:
            createTests(200, 20)
    
            when:
            run("test")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go

    // Since the Dial to kms-plugin is non-blocking we expect the construction of gRPC service to succeed even when
    // kms-plugin is not yet up - dialing happens in the background.
    func TestKMSPluginLateStart(t *testing.T) {
    	t.Parallel()
    	callTimeout := 3 * time.Second
    	s := newEndpoint()
    
    	ctx := testContext(t)
    
    	service, err := NewGRPCService(ctx, s.endpoint, testProviderName, callTimeout)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            when:
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().withArguments("-Dorg.gradle.parallel.intra=true", '--parallel', '--max-workers=2').forTasks('parallelTasks').addProgressListener(events).run()
            }
    
            then:
            events.tasks.size() == 3
    
            def runTasks = events.operation("Run tasks")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/tsan_test.go

    	}
    	// The msan tests require support for the -msan option.
    	if !compilerRequiredTsanVersion(goos, goarch) {
    		t.Skipf("skipping on %s/%s; compiler version for -tsan option is too old.", goos, goarch)
    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("thread")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    		src          string
    		needsRuntime bool
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 21:14:49 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top