Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 288 for Parallel (0.15 sec)

  1. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.junit.Rule
    
    @Requires(IntegTestPreconditions.NotParallelExecutor) // no point, always runs in parallel
    public class ParallelProjectExecutionIntegrationTest extends AbstractIntegrationSpec {
    
        @Rule public final BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ParallelDownloadsPerformanceTest.groovy

            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    
            cleanup:
            stopServer()
        }
    
        def "resolves dependencies from external repository (parallel)"() {
            startServer()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class IsolatedProjectsJavaPluginIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "java projects can be configured in a parallel"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
            settingsFile << """
                include("a")
                include("b")
            """
            javaProject(file("a"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    // A hard-to-spot variant of this form is common in parallel tests:
    //
    //	func Test(t *testing.T) {
    //	    for _, test := range tests {
    //	        t.Run(test.name, func(t *testing.T) {
    //	            t.Parallel()
    //	            use(test) // incorrect, and a data race
    //	        })
    //	    }
    //	}
    //
    // The t.Parallel() call causes the rest of the function to execute
    // concurrent with the loop [<go1.22].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. testing/performance/src/templates/project-with-source/pom.xml

                    <artifactId>maven-surefire-plugin</artifactId>
                    <!--<version>2.5</version>-->
                    <!--<configuration>-->
                        <!--<parallel>classes</parallel>-->
                        <!--<threadCount>4</threadCount>-->
                    <!--</configuration>-->
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 08:47:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top