Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 311 for logf (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    	// 	.../src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go:69 +0x...
    	lines := strings.Split(log, "\n")
    	if len(lines) < 4 {
    		t.Fatalf("panic log should have 1 line of message, 1 line per goroutine and 2 lines per function call")
    	}
    	t.Logf("Got log output:\n%s", strings.Join(lines, "\n"))
    	if match, _ := regexp.MatchString(`"Observed a panic" panic="test panic"`, lines[0]); !match {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/net/http/pprof/pprof_test.go

    	}
    
    	// Log the binary output for debugging failures.
    	b64 := make([]byte, base64.StdEncoding.EncodedLen(len(out)))
    	base64.StdEncoding.Encode(b64, out)
    	t.Logf("Output in base64.StdEncoding: %s", b64)
    
    	p, err := profile.Parse(bytes.NewReader(out))
    	if err != nil {
    		t.Fatalf("Parse got err %v want nil", err)
    	}
    
    	t.Logf("Output as parsed Profile: %s", p)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    									}
    
    									// the OTel collector exports to Zipkin
    									traces, err := tracing.GetZipkinInstance().QueryTraces(300, "", tc.customAttribute)
    									t.Logf("got traces %v from %s", traces, cluster)
    									if err != nil {
    										return fmt.Errorf("cannot get traces from zipkin: %v", err)
    									}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/syscall/exec_pdeathsig_test.go

    	}
    	stderr := new(strings.Builder)
    	cmd.Stderr = stderr
    
    	err = cmd.Start()
    	defer func() {
    		chldStdin.Close()
    		cmd.Wait()
    		if stderr.Len() > 0 {
    			t.Logf("stderr:\n%s", stderr)
    		}
    	}()
    	if err != nil {
    		t.Fatalf("failed to start first child process: %v", err)
    	}
    
    	chldPipe := bufio.NewReader(chldStdout)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 21:23:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. tests/integration/ambient/gateway_conformance_test.go

    			report, err := csuite.Report()
    			assert.NoError(t, err)
    			reportb, err := yaml.Marshal(report)
    			assert.NoError(t, err)
    			fp := filepath.Join(ctx.Settings().BaseDir, "conformance.yaml")
    			t.Logf("writing conformance test to %v (%v)", fp, prow.ArtifactsURL(fp))
    			assert.NoError(t, os.WriteFile(fp, reportb, 0o644))
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/os/writeto_linux_test.go

    	if err != nil {
    		t.Fatalf("failed to create temporary file: %v", err)
    	}
    	t.Cleanup(func() {
    		f.Close()
    	})
    
    	randSeed := time.Now().Unix()
    	t.Logf("random data seed: %d\n", randSeed)
    	prng := rand.New(rand.NewSource(randSeed))
    	data := make([]byte, size)
    	prng.Read(data)
    	if _, err := f.Write(data); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/internal/zstd/zstd_test.go

    func TestLarge(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping expensive test in short mode")
    	}
    
    	data := bigData(t)
    	compressed := zstdBigData(t)
    
    	t.Logf("zstd compressed %d bytes to %d", len(data), len(compressed))
    
    	r := NewReader(bytes.NewReader(compressed))
    	got, err := io.ReadAll(r)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if !bytes.Equal(got, data) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. tests/binary/binaries_test.go

    			t.Fatalf("min/max binary size not specified for %v", name)
    		}
    		cmd := path.Join(*releasedir, name)
    		fi, err := os.Stat(cmd)
    		if err != nil {
    			t.Fatal(err)
    		}
    		got := fi.Size() / (1000 * 1000)
    		t.Logf("Actual size: %dmb. Range: [%dmb, %dmb]", got, tt.minMb, tt.maxMb)
    		if got > tt.maxMb {
    			t.Fatalf("Binary size of %dmb was greater than max allowed size %dmb", got, tt.maxMb)
    		}
    		if got < tt.minMb {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. pkg/controller/deployment/recreate_test.go

    		d          *apps.Deployment
    	}{
    		{
    			oldRSSizes: []int32{3},
    			d:          newDeployment("foo", 3, nil, nil, nil, map[string]string{"foo": "bar"}),
    		},
    	}
    
    	for i := range tests {
    		t.Logf("running scenario %d", i)
    		test := tests[i]
    
    		var oldRSs []*apps.ReplicaSet
    		var expected []runtime.Object
    
    		for n, size := range test.oldRSSizes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listenertest/match.go

    						continue
    					}
    					found++
    					VerifyFilterChain(t, have, want)
    				}
    				if found == 0 {
    					t.Fatalf("No matching chain found for %+v", want)
    				}
    				if found > 1 {
    					t.Logf("warning: multiple matching chains found for %+v", want)
    				}
    			}
    		}
    	}
    }
    
    func VerifyFilterChain(t test.Failer, have *listener.FilterChain, want FilterChainTest) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top