Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,023 for Parallel (0.22 sec)

  1. src/cmd/go/testdata/script/test_fuzz_parallel.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # When running seed inputs, T.Parallel should let multiple inputs run in
    # parallel.
    go test -run=FuzzSeed
    
    # When fuzzing, T.Parallel should be safe to call, but it should have no effect.
    # We just check that it doesn't hang, which would be the most obvious
    # failure mode.
    # TODO(jayconrod): check for the string "after T.Parallel". It's not printed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/performance/parallelTestExecution/groovy/build.gradle

    plugins {
        id('java-library')
    }
    
    // tag::parallel-4[]
    // tag::parallel-calculated[]
    // tag::fork-every[]
    // tag::disable-reports[]
    tasks.withType(Test).configureEach {
    // end::parallel-4[]
    // end::parallel-calculated[]
    // end::fork-every[]
    // end::disable-reports[]
    
    // tag::parallel-4[]
        maxParallelForks = 4
    // end::parallel-4[]
    
    // tag::parallel-calculated[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 976 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_chatty_parallel_fail.txt

    	"fmt"
    	"flag"
    )
    
    // This test ensures the order of CONT lines in parallel chatty tests.
    func TestChattyParallel(t *testing.T) {
    	t.Parallel()
    
    	// The number of concurrent tests running. This is closely tied to the
    	// -parallel test flag, so we grab it from the flag rather than setting it
    	// to some constant.
    	parallel := flag.Lookup("test.parallel").Value.(flag.Getter).Get().(int)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_parallel_number.txt

    [short] skip
    
    # go test -parallel -1 shouldn't work
    ! go test -parallel -1 standalone_parallel_sub_test.go
    stdout '-parallel can only be given'
    
    # go test -parallel 0 shouldn't work
    ! go test -parallel 0 standalone_parallel_sub_test.go
    stdout '-parallel can only be given'
    
    -- standalone_parallel_sub_test.go --
    package standalone_parallel_sub_test
    
    import "testing"
    
    func Test(t *testing.T) {
    	ch := make(chan bool, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:48:08 UTC 2020
    - 608 bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/RunnerFactory.groovy

        private SmokeTestGradleRunner newKotlinRunner(boolean parallel, VersionNumber kotlinVersion, List<String> tasks) {
            List<String> args = []
    
            // Parallel workers in Kotlin is enabled by Gradle's --parallel flag. See https://youtrack.jetbrains.com/issue/KT-46401/
            // For context on why we test with parallel workers see https://github.com/gradle/gradle/pull/10404
            if (parallel) {
                args = ["--parallel"]
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

        }
    
        @Requires(value = IntegTestPreconditions.NotParallelExecutor, reason = """
    Don't run in parallel mode, as the expectation for the setup build are incorrect
    It could potentially be worth running this in parallel mode to demonstrate the difference between
    parallel and configuration cache
    """)
        def "runs tasks in same project in parallel by default"() {
            server.start()
    
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                run ":aPing", ":bPing", ":cPing", ":dPing"
            }
        }
    
        def "tasks are run in parallel if there are tasks without async work running in a different project using --parallel"() {
            given:
            executer.beforeExecute {
                withArgument("--parallel")
            }
            withParallelThreads(3)
    
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_chatty_parallel_success.txt

    	"fmt"
    	"flag"
    )
    
    // This test ensures the order of CONT lines in parallel chatty tests.
    func TestChattyParallel(t *testing.T) {
    	t.Parallel()
    
    	// The number of concurrent tests running. This is closely tied to the
    	// -parallel test flag, so we grab it from the flag rather than setting it
    	// to some constant.
    	parallel := flag.Lookup("test.parallel").Value.(flag.Getter).Get().(int)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cover_test_race_issue56370.txt

    import (
    	"testing"
    
    	"issue.56370/filter"
    )
    
    func Test1(t *testing.T) {
    	t.Parallel()
    
    	_ = filter.New()
    }
    
    func Test2(t *testing.T) {
    	t.Parallel()
    
    	_ = filter.New()
    }
    
    func Test3(t *testing.T) {
    	t.Parallel()
    
    	_ = filter.New()
    }
    
    func Test4(t *testing.T) {
    	t.Parallel()
    
    	_ = filter.New()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 21 19:41:54 UTC 2022
    - 576 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/performance/parallelTestExecution/kotlin/build.gradle.kts

    plugins {
        id("java-library")
    }
    
    // tag::parallel-4[]
    // tag::parallel-calculated[]
    // tag::fork-every[]
    // tag::disable-reports[]
    tasks.withType<Test>().configureEach {
    // end::parallel-4[]
    // end::parallel-calculated[]
    // end::fork-every[]
    // end::disable-reports[]
    
    // tag::parallel-4[]
        maxParallelForks = 4
    // end::parallel-4[]
    
    // tag::parallel-calculated[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 995 bytes
    - Viewed (0)
Back to top