Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 288 for Parallel (0.26 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/RealWorldNativePluginPerformanceTest.groovy

        def setup() {
            runner.minimumBaseVersion = "4.0"
        }
    
        def "build with #parallelWorkers parallel workers"() {
            given:
            runner.tasksToRun = ['build']
            runner.warmUpRuns = 5
            runner.runs = 10
    
            runner.args += ["-Dorg.gradle.parallel=${parallelWorkers ? true : false}"]
            if (parallelWorkers) {
                runner.args += ["--max-workers=$parallelWorkers".toString()]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractBasicGroupedTaskLoggingFunctionalTest.groovy

                        }
                    }
                }
            """
    
            when:
            server.expectConcurrent("log1", "log2", "log3")
            executer.withArgument("--parallel")
            // run build in another process to avoid interference from logging from test fixtures
            result = executer.withTasks("log").start().waitForFinish()
    
            then:
            result.groupedOutput.taskCount == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/LayoutToPropertiesConverterTest.groovy

            when:
            def properties = properties("-Dorg.gradle.parallel=true")
            def layout = layout(properties)
            gradleHome.file("gradle.properties") << "org.gradle.workers.max=12"
            def result = converter.convert(properties, layout)
            result = result.merge(["org.gradle.workers.max": "4", "org.gradle.parallel": "false"])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_limit_dup_entry.txt

    # had an execution limit, causing it to deadlock and sit in the coordinator
    # loop indefinitely, failing to exit once the limit had been exhausted.
    
    go test -fuzz=FuzzA -fuzztime=100x -parallel=1
    
    -- go.mod --
    module m
    
    go 1.16
    -- fuzz_test.go --
    package fuzz_test
    
    import (
    	"fmt"
    	"testing"
    )
    
    func FuzzA(f *testing.F) {
    	f.Add([]byte("seed"))
    	i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 725 bytes
    - Viewed (0)
  5. src/os/exec/lp_unix_test.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package exec_test
    
    import (
    	"os"
    	"os/exec"
    	"testing"
    )
    
    func TestLookPathUnixEmptyPath(t *testing.T) {
    	// Not parallel: uses Chdir and Setenv.
    
    	tmp := t.TempDir()
    	chdir(t, tmp)
    
    	f, err := os.OpenFile("exec_me", os.O_CREATE|os.O_EXCL, 0700)
    	if err != nil {
    		t.Fatal("OpenFile failed: ", err)
    	}
    	err = f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:19:21 UTC 2023
    - 762 bytes
    - Viewed (0)
  6. src/os/executable_test.go

    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"testing"
    )
    
    const executable_EnvVar = "OSTEST_OUTPUT_EXECPATH"
    
    func TestExecutable(t *testing.T) {
    	testenv.MustHaveExec(t)
    	t.Parallel()
    
    	ep, err := os.Executable()
    	if err != nil {
    		t.Fatalf("Executable failed: %v", err)
    	}
    	// we want fn to be of the form "dir/prog"
    	dir := filepath.Dir(filepath.Dir(ep))
    	fn, err := filepath.Rel(dir, ep)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

    package gradlebuild.basics.testing
    
    import org.gradle.api.tasks.testing.Test
    
    
    enum class TestType(val prefix: String, val executers: List<String>) {
        INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
        CROSSVERSION("crossVersion", listOf("embedded", "forking"))
    }
    
    
    fun Test.includeSpockAnnotation(fqcn: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. internal/cachevalue/cache_test.go

    	defer sl.Stop()
    
    	select {
    	case <-sl.C:
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    
    	return nil
    }
    
    func TestCacheCtx(t *testing.T) {
    	cache := New[time.Time]()
    	t.Parallel()
    	cache.InitOnce(2*time.Second, Opts{},
    		func(ctx context.Context) (time.Time, error) {
    			return time.Now(), slowCaller(ctx)
    		},
    	)
    
    	ctx, cancel := context.WithCancel(context.Background())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            when:
            args "--parallel"
            succeeds 'clean', 'build'
    
            then:
            result.assertTaskOrder(
                any(
                    exact(':a:clean', ':a:compileJava'),
                    exact(':b:clean', ':b:compileJava'),
                    exact(':a:compileJava', ':b:compileJava')
                )
            )
    
            when:
            args "--parallel"
            succeeds 'build', 'clean'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/GradleEnterprisePluginBackgroundJobExecutorsIntegrationTest.groovy

            when:
            fails("check")
    
            then:
            failure.assertHasDescription("Background job failed!")
        }
    
        def "background jobs can run in parallel with tasks on #numWorkers workers"(int numWorkers) {
            httpServer.start()
    
            given:
            buildFile << """
                def executors = $executors
    
                task check {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top