Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 436 for Parallel (0.15 sec)

  1. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/IntermediateBuildActionRunnerTest.groovy

        def buildModelParameters = Mock(BuildModelParameters)
        def runner = new IntermediateBuildActionRunner(buildOperationExecutor, buildModelParameters, "Test operation")
    
        def "parallelism is defined by Tooling API parallel actions"() {
            when:
            runner.isParallel()
    
            then:
            1 * buildModelParameters.isParallelToolingApiActions() >> true
            0 * _
        }
    
        def "runs supplied actions"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 17:58:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test2json_interrupt.txt

    [short] skip 'links and runs a test binary'
    [!fuzz] skip 'tests SIGINT behavior for interrupting fuzz tests'
    [GOOS:windows] skip 'windows does not support os.Interrupt'
    
    ? go test -json -fuzz FuzzInterrupt -run '^$' -parallel 1
    stdout -count=1 '"Action":"pass","Package":"example","Test":"FuzzInterrupt"'
    stdout -count=1 '"Action":"pass","Package":"example","Elapsed":'
    
    mkdir $WORK/fuzzcache
    go test -c . -fuzz=. -o example_test.exe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/deadcode_test.go

    // license that can be found in the LICENSE file.
    
    package ld
    
    import (
    	"bytes"
    	"internal/testenv"
    	"path/filepath"
    	"testing"
    )
    
    func TestDeadcode(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    	tests := []struct {
    		src      string
    		pos, neg []string // positive and negative patterns
    	}{
    		{"reflectcall", nil, []string{"main.T.M"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:07:26 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/cshared_test.go

    	"internal/testenv"
    	"os"
    	"strings"
    	"testing"
    )
    
    func TestShared(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveBuildMode(t, "c-shared")
    
    	t.Parallel()
    	requireOvercommit(t)
    
    	GOOS, err := goEnv("GOOS")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	GOARCH, err := goEnv("GOARCH")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	libExt := "so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/os/exec_unix_test.go

    //go:build unix
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"math"
    	. "os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestErrProcessDone(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{})
    	if err != nil {
    		t.Fatalf("starting test process: %v", err)
    	}
    	p.Wait()
    	if got := p.Signal(Kill); got != ErrProcessDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy

    class ScalaConcurrencyIntegrationTest extends AbstractIntegrationSpec {
        @Rule BlockingHttpServer httpServer = new BlockingHttpServer()
    
        @Issue("https://github.com/gradle/gradle/issues/14434")
        def "can run tests in parallel with project dependencies"() {
            given:
            httpServer.expectConcurrent(':a:test', ':b:test', ':c:test', ':d:test')
            httpServer.start()
    
            settingsFile << """
                include 'a', 'b', 'c', 'd'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 16:10:12 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. subprojects/core-api/src/main/java/org/gradle/api/services/BuildServiceSpec.java

        /**
         * Specifies the maximum number of tasks that can use this service in parallel. Setting this to 1 means that the service will be used by a single task at a time.
         * When this property has no value defined, then any number of tasks may use this service in parallel. This is the default.
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 18:14:53 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGeneratorConfiguration.groovy

        CompositeConfiguration compositeBuild
    
        String daemonMemory
        String compilerMemory
        String testRunnerMemory
        Map<String, String> systemProperties
        String[] featurePreviews
        boolean parallel
        int maxWorkers
        int maxParallelForks
        int testForkEvery
        boolean useTestNG
        Map<String, String> fileToChangeByScenario
    }
    
    @Builder(prefix = "with",
        builderStrategy = ExternalStrategy,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top