Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Parallel (0.15 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. pkg/test/framework/test.go

    	Run(fn func(t TestContext))
    	// RunParallel runs this test in parallel with other children of the same parent test/suite. Under the hood,
    	// this relies on Go's t.Parallel() and will, therefore, have the same behavior.
    	//
    	// A parallel test will run in parallel with siblings that share the same parent test. The parent test function
    	// will exit before the parallel children are executed. It should be noted that if the parent test is prevented
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

                includeGroups == source.includeGroups
                excludeGroups == source.excludeGroups
                configFailurePolicy == source.configFailurePolicy
                listeners == source.listeners
                parallel == source.parallel
                threadCount == source.threadCount
                suiteThreadPoolSize.get() == source.suiteThreadPoolSize.get()
                useDefaultListeners == source.useDefaultListeners
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

        }
    
        /**
         * The number of threads to use for this run. Ignored unless the parallel mode is also specified
         */
        @Internal
        public int getThreadCount() {
            return threadCount;
        }
    
        public void setThreadCount(int threadCount) {
            this.threadCount = threadCount;
        }
    
        /**
         * The number of XML suites will run parallel
         * @since 8.9
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/os/exec/exec_test.go

    		}
    	}
    }
    
    func TestEcho(t *testing.T) {
    	t.Parallel()
    
    	bs, err := helperCommand(t, "echo", "foo bar", "baz").Output()
    	if err != nil {
    		t.Errorf("echo: %v", err)
    	}
    	if g, e := string(bs), "foo bar baz\n"; g != e {
    		t.Errorf("echo: want %q, got %q", e, g)
    	}
    }
    
    func TestCommandRelativeName(t *testing.T) {
    	t.Parallel()
    
    	cmd := helperCommand(t, "echo", "foo")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. 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)
  7. internal/grid/benchmark_test.go

    	}
    	const payloadSize = 512
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	payload := make([]byte, payloadSize)
    	_, err = rng.Read(payload)
    	errFatal(err)
    
    	// Wait for all to connect
    	// Parallel writes per server.
    	b.Run("bytes", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            server.start()
        }
    
        def "projects are configured and models created in parallel when project scoped model is queried concurrently"() {
            withSomeToolingModelBuilderPluginInBuildSrc("""
                ${server.callFromBuildUsingExpression("'model-' + project.name")}
            """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. 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)
  10. gradle.properties

    # Reduce Xmx after https://github.com/gradle/gradle-private/issues/4168 is resolved
    org.gradle.jvmargs=-Xmx2700m -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
    org.gradle.parallel=true
    org.gradle.caching=true
    org.gradle.configuration-cache=true
    systemProp.gradle.publish.skip.namespace.check=true
    # Kotlin DSL settings
    org.gradle.kotlin.dsl.allWarningsAsErrors=true
    # Kotlin settings
    kotlin.incremental.useClasspathSnapshot=true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 16:35:19 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top