Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,123 for parallels (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIncrementalExecutionPerformanceTest.groovy

            @Scenario(type = PER_COMMIT, operatingSystems = LINUX, testProjects = ["largeJavaMultiProject", "largeMonolithicJavaProject"], iterationMatcher = '.*parallel false.*'),
        ])
        def "up-to-date assemble (parallel #parallel)"() {
            given:
            runner.tasksToRun = ['assemble']
            runner.args += ["-Dorg.gradle.parallel=$parallel"]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/java/ParallelBuildPerformanceTest.groovy

    )
    class ParallelBuildPerformanceTest extends AbstractCrossBuildPerformanceTest {
    
        def "clean assemble with 4 parallel workers"() {
            given:
            runner.testGroup = "parallel builds"
            runner.buildSpec {
                displayName("parallel")
                invocation {
                    args("-Dorg.gradle.parallel=true", "--max-workers=4")
                }
            }
            runner.baseline {
                displayName("serial")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/testing/testing_test.go

    		if got := recover(); got != want {
    			t.Fatalf("expected panic; got %#v want %q", got, want)
    		}
    	}()
    
    	t.Parallel()
    
    	t.Setenv("GO_TEST_KEY_1", "value")
    }
    
    func TestSetenvWithParallelParentBeforeSetenv(t *testing.T) {
    	t.Parallel()
    
    	t.Run("child", func(t *testing.T) {
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt

    # Run parallel chatty tests. Assert on CONT or NAME lines. This test makes sure that
    # multiple parallel outputs have the appropriate CONT lines between them.
    go test -parallel 3 chatty_parallel -v
    
    stdout '=== RUN   TestInterruptor/interruption\n=== (CONT|NAME)  TestLog\n    chatty_parallel_test.go:28: this is the second TestLog log\n--- PASS: Test(Log|Interruptor) \([0-9.]{4}s\)'
    
    -- go.mod --
    module chatty_parallel
    
    go 1.18
    -- chatty_parallel_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeSoftwareModelParallelIntegrationTest.groovy

        reason = "always runs in parallel, our mac currently lacks proper toolchain installations")
    abstract class AbstractNativeSoftwareModelParallelIntegrationTest extends AbstractNativeParallelIntegrationTest {
        abstract HelloWorldApp getApp()
    
        @ToBeFixedForConfigurationCache
        def "can execute link executable tasks in parallel"() {
            given:
            withComponentForApp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top