Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,275 for logf (0.13 sec)

  1. tests/integration/telemetry/api/istioctl_metrics_test.go

    	if len(lines) != 3 {
    		t.Logf("Expected 2 lines of output, got %q", output)
    		return errors.New("unexpected output (incorrect number of lines)")
    	}
    	fields := strings.Fields(lines[1])
    	if len(fields) != 6 {
    		t.Logf("Expected 6 columns, got %#v", fields)
    		return errors.New("unexpected output (incorrect number of columns)")
    	}
    	if fields[0] != workload {
    		t.Logf("Expected column 1 to be %q, got %#v", workload, fields)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/net/netip/fuzz_test.go

    	buf2, err := y.(encoding.TextMarshaler).MarshalText()
    	if err != nil {
    		t.Logf("(%v).MarshalText() = %q", x, buf)
    		t.Logf("(%T).UnmarshalText(%q) = %v", y, buf, y)
    		t.Fatalf("failed to MarshalText a second time: %v", err)
    	}
    	if !bytes.Equal(buf, buf2) {
    		t.Logf("(%v).MarshalText() = %q", x, buf)
    		t.Logf("(%T).UnmarshalText(%q) = %v", y, buf, y)
    		t.Logf("(%v).MarshalText() = %q", y, buf2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  3. src/cmd/link/elf_test.go

    	cc, cflags := getCCAndCCFLAGS(t, env)
    
    	asmObj := filepath.Join(dir, "x.o")
    	t.Logf("%s %v -c -o %s %s", cc, cflags, asmObj, asmFile)
    	if out, err := testenv.Command(t, cc, append(cflags, "-c", "-o", asmObj, asmFile)...).CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	asm2Obj := filepath.Join(dir, "x2.syso")
    	t.Logf("%s --rename-section .text2=.text1 %s %s", objcopy, asmObj, asm2Obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/carchive_test.go

    	if runtime.Compiler == "gccgo" {
    		ccArgs = append(ccArgs, "-lgo")
    	}
    	t.Log(ccArgs)
    	out, err = exec.Command(ccArgs[0], ccArgs[1:]...).CombinedOutput()
    	if len(out) > 0 {
    		t.Logf("%s", out)
    	}
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func runSignalForwardingTest(t *testing.T, arg string) error {
    	t.Logf("%v %s", bin, arg)
    	cmd := exec.Command(bin[0], append(bin[1:], arg)...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  5. src/net/net_fake_test.go

    		if err != nil {
    			t.Fatalf("unexpected error from Dial with %v connections: %v", len(dialed), err)
    		}
    		dialed = append(dialed, c)
    		if testing.Verbose() && len(dialed)%(1<<12) == 0 {
    			t.Logf("dialed %d connections", len(dialed))
    		}
    	}
    	t.Logf("dialed %d connections", len(dialed))
    
    	// Now that all of the ports are in use, dialing another should fail due
    	// to port exhaustion, which (for POSIX-like socket APIs) should return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/go/doc/testdata/testing.1.golden

    	func (c *B) Failed() bool
    
    	// Fatal is equivalent to Log() followed by FailNow(). 
    	func (c *B) Fatal(args ...any)
    
    	// Fatalf is equivalent to Logf() followed by FailNow(). 
    	func (c *B) Fatalf(format string, args ...any)
    
    	// Log formats its arguments using default formatting, analogous ...
    	func (c *B) Log(args ...any)
    
    	// Logf formats its arguments according to the format, analogous ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/net/testing/http.go

    	b, err := httputil.DumpRequest(req, false)
    	if err != nil {
    		h.t.Logf("Failed to dump request, host=%s: %v", req.Host, err)
    	} else {
    		h.t.Logf("Proxy Request: %s", string(b))
    	}
    
    	if req.Method != http.MethodConnect {
    		h.httpProxy.ServeHTTP(rw, req)
    		return
    	}
    
    	// CONNECT proxy
    
    	sconn, err := net.Dial("tcp", req.Host)
    	if err != nil {
    		h.t.Logf("Failed to dial proxy backend, host=%s: %v", req.Host, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 20 14:58:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	t.Logf("Checking that ObjectMeta is pruned from unknown fields")
    	obj, err := noxuResourceClient.Get(context.TODO(), "foo", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	objJSON, _ := json.Marshal(obj.Object)
    	t.Logf("Got object: %v", string(objJSON))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
  9. tests/integration/security/fuzz/fuzz_test.go

    		t.Fatalf("Wait for pod %s failed: %v", name, err)
    	}
    	t.Logf("deploy %s is ready", name)
    }
    
    func waitService(t framework.TestContext, name, ns string) {
    	if _, _, err := kube.WaitUntilServiceEndpointsAreReady(t.Clusters().Default().Kube(), ns, name); err != nil {
    		t.Fatalf("Wait for service %s failed: %v", name, err)
    	}
    	t.Logf("service %s is ready", name)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. cni/test/install_cni.go

    	t.Helper()
    	t.Logf("Pre-populating working dirs")
    	for i, f := range cniDirOrderedFiles {
    		destFilenm := fmt.Sprintf("0%d-%s", i, f)
    		t.Logf("Copying %v into temp config dir %v/%s", f, tempCNIConfDir, destFilenm)
    		cp(wd+cniConfSubDir+f, tempCNIConfDir+"/"+destFilenm, t)
    	}
    	for _, f := range ls(wd+k8sSvcAcctSubDir, t) {
    		t.Logf("Copying %v into temp k8s serviceaccount dir %v", f, tempK8sSvcAcctDir)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top