Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 145 for hung (0.04 sec)

  1. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/GroovySecurityManagerIssuesIntegrationTest.groovy

    import spock.lang.Ignore
    import spock.lang.Issue
    
    class GroovySecurityManagerIssuesIntegrationTest extends AbstractIntegrationSpec {
    
        @Ignore
        @Issue("GRADLE-2170")
        def "build does not hang when a GroovyTestCase sets a SecurityManager"() {
            given:
            writeJavaTestSource("src/main/groovy")
            writeGroovyTestSource("src/test/groovy")
            file('build.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiShutdownIntegrationTest.groovy

                }
            """
            file("test-project/build.gradle") << ""
            file("test-project/settings.gradle") << ""
            file("test-project/gradle.properties") << "systemProp.org.gradle.internal.testing.daemon.hang=60000"
    
            when:
            succeeds("runGradleBuildWithUnstableDaemon")
    
            then:
            output.contains("BUILD SUCCESSFUL")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * this is no worse than what FutureTask does in that situation. Additionally, because the
         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * this is no worse than what FutureTask does in that situation. Additionally, because the
         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue10958.go

    // platforms).
    
    // This checks to see that call-free infinite loops do not
    // block garbage collection.  IF YOU RUN IT STANDALONE without
    // -gcflags=-d=ssa/insert_resched_checks/on in a not-experimental
    // build, it should hang.
    
    package main
    
    import (
    	"runtime"
    )
    
    var someglobal1 int
    var someglobal2 int
    var someglobal3 int
    
    //go:noinline
    func f() {}
    
    func standinacorner1() {
    	for someglobal1&1 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/os/path_windows_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	volName := syscall.UTF16ToString(buf[:])
    	testMkdirAllAtRoot(t, volName)
    }
    
    func TestRemoveAllLongPathRelative(t *testing.T) {
    	// Test that RemoveAll doesn't hang with long relative paths.
    	// See go.dev/issue/36375.
    	tmp := t.TempDir()
    	chdir(t, tmp)
    	dir := filepath.Join(tmp, "foo", "bar", strings.Repeat("a", 150), strings.Repeat("b", 150))
    	err := os.MkdirAll(dir, 0755)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/vcweb/hg.go

    		// write anything else to stdout, but it's not a big deal if it does anyway.
    		// Keep the stdout pipe open so that 'hg serve' won't get a SIGPIPE, but
    		// actively discard its output so that it won't hang on a blocking write.
    		wg.Add(1)
    		go func() {
    			io.Copy(io.Discard, r)
    			wg.Done()
    		}()
    
    		u, err := url.Parse(strings.TrimSpace(line))
    		if err != nil {
    			logger.Printf("%v: %v", cmd, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/net/http/cgi/cgi_main.go

    		if eb, ok := req.Form["exact-body"]; ok {
    			io.WriteString(rw, eb[0])
    			return
    		}
    		if req.FormValue("write-forever") == "1" {
    			io.Copy(rw, neverEnding('a'))
    			for {
    				time.Sleep(5 * time.Second) // hang forever, until killed
    			}
    		}
    		fmt.Fprintf(rw, "test=Hello CGI-in-CGI\n")
    		for k, vv := range req.Form {
    			for _, v := range vv {
    				fmt.Fprintf(rw, "param-%s=%s\n", k, v)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerResultIntegrationTest.groovy

    /**
     * Tests more intricate aspects of the BuildResult object
     */
    @InspectsExecutedTasks
    @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = "Test causes builds to hang")
    class GradleRunnerResultIntegrationTest extends BaseGradleRunnerIntegrationTest {
    
        def "execute task actions marked as up-to-date or skipped"() {
            given:
            buildFile << """
                task helloWorld
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/CancellationCrossVersionSpec.groovy

            def resultHandler = new TestResultHandler()
    
            when:
            cancel.cancel()
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.forTasks('hang')
                build.withCancellationToken(cancel.token())
                build.run(resultHandler)
                resultHandler.finished()
            }
            then:
            resultHandler.assertFailedWith(BuildCancelledException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top