Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 602 for _logf (0.12 sec)

  1. src/runtime/debug/stack_test.go

    	// 	_testmain.go:71 +0x170
    	data, err := os.ReadFile(crashOutput)
    	if err != nil {
    		t.Fatalf("child process failed to write crash report: %v", err)
    	}
    	crash := string(data)
    	t.Logf("crash = <<%s>>", crash)
    	t.Logf("stderr = <<%s>>", stderr)
    
    	// Check that the crash file and the stderr both contain the panic and stack trace.
    	for _, want := range []string{
    		"panic: oops",
    		"goroutine 1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tests/integration/telemetry/tracing/tracing.go

    		t.Logf("got span %+v, want span %+v", got, want)
    		return false
    	}
    	if len(got.ChildSpans) < len(want.ChildSpans) {
    		t.Logf("got %d child spans from, want %d child spans, maybe trace has not be fully reported",
    			len(got.ChildSpans), len(want.ChildSpans))
    		return false
    	} else if len(got.ChildSpans) > len(want.ChildSpans) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/net/write_unix_test.go

    				cagain++
    				if cagain > 20 {
    					t.Error("looping on EAGAIN")
    					return nil
    				}
    				if err = ss.conn.fd.pfd.WaitWrite(); err != nil {
    					t.Logf("client WaitWrite: %v", err)
    					return nil
    				}
    			default:
    				// We expect to eventually get an error.
    				t.Logf("client WriteOnce: %v", err)
    				return nil
    			}
    		}
    	}
    	withTCPConnPair(t, client, server)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt

    	close(afterSubTest)
    	<-afterSecondLog // Delay the "PASS: TestInterruptor" line until after "CONT  TestLog".
    }
    
    func TestLog(t *testing.T) {
    	t.Parallel()
    
    	t.Logf("this is the first TestLog log")
    	close(afterFirstLog)
    	<-afterSubTest
    	t.Logf("this is the second TestLog log")
    	close(afterSecondLog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1K bytes
    - Viewed (0)
  5. src/cmd/covdata/tool_test.go

    	t.Helper()
    
    	if debugtrace {
    		if indir != "" {
    			t.Logf("in dir %s: ", indir)
    		}
    		t.Logf("cmd: %s %+v\n", testenv.GoToolPath(t), bargs)
    	}
    	cmd := testenv.Command(t, testenv.GoToolPath(t), bargs...)
    	cmd.Dir = indir
    	b, err := cmd.CombinedOutput()
    	if len(b) != 0 {
    		t.Logf("## build output:\n%s", b)
    	}
    	if err != nil {
    		t.Fatalf("build error: %v", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istioctl/kube.go

    func (c *kubeComponent) InvokeOrFail(t test.Failer, args []string) (string, string) {
    	output, stderr, err := c.Invoke(args)
    	if err != nil {
    		t.Logf("Unwanted exception for 'istioctl %s': %v", strings.Join(args, " "), err)
    		t.Logf("Output:\n%v", output)
    		t.Logf("Error:\n%v", stderr)
    		t.FailNow()
    	}
    	return output, stderr
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/export_test.go

    }
    
    func (d TestFrontend) Logf(msg string, args ...interface{}) { d.t.Logf(msg, args...) }
    func (d TestFrontend) Log() bool                            { return true }
    
    func (d TestFrontend) Fatalf(_ src.XPos, msg string, args ...interface{}) { d.t.Fatalf(msg, args...) }
    func (d TestFrontend) Warnl(_ src.XPos, msg string, args ...interface{})  { d.t.Logf(msg, args...) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/runtime/race/testdata/rangefunc_test.go

    // therefore foo can early exit.
    func TestRaceRangeFuncIterator(t *testing.T) {
    	x := foo(4)
    	t.Logf("foo(4)=%d", x)
    }
    
    // TestNoRaceRangeFuncIterator does not race because x%5 is never 5,
    // therefore foo's loop will not exit early, and this it will not race.
    func TestNoRaceRangeFuncIterator(t *testing.T) {
    	x := foo(5)
    	t.Logf("foo(5)=%d", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/importer_test.go

    		out, err := cmd.CombinedOutput()
    		if err != nil {
    			t.Logf("%s", out)
    			t.Fatalf("gccgo %s failed: %s", gofile, err)
    		}
    
    		runImporterTest(t, imp, initmap, &test)
    
    		cmd = testenv.Command(t, "ar", "cr", afile, ofile)
    		out, err = cmd.CombinedOutput()
    		if err != nil {
    			t.Logf("%s", out)
    			t.Fatalf("ar cr %s %s failed: %s", afile, ofile, err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:17:57 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	// (broken = runN, b.Negate = true).
    
    	b.Logf("checking target with all changes disabled")
    	runN := b.Run("n")
    
    	b.Logf("checking target with all changes enabled")
    	runY := b.Run("y")
    
    	var broken *Result
    	switch {
    	case runN.Success && !runY.Success:
    		b.Logf("target succeeds with no changes, fails with all changes")
    		b.Logf("searching for minimal set of enabled changes causing failure")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top