Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 602 for _logf (0.07 sec)

  1. cmd/kubemark/app/hollow_node_test.go

    			errCh := make(chan error)
    			go func() {
    				data, err := os.ReadFile(kubeconfigPath)
    				t.Logf("read %d, err=%v\n", len(data), err)
    				ctx := ktesting.Init(t)
    				errCh <- run(ctx, s)
    			}()
    
    			select {
    			case err := <-errCh:
    				t.Fatalf("Run finished unexpectedly with error: %v", err)
    			case <-time.After(3 * time.Second):
    				t.Logf("Morph %q hasn't crashed for 3s. Calling success.", morph)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/internal/wasitest/tcpecho_test.go

    		t.Fatal(err)
    	}
    	var buf [256]byte
    	n, err := conn.Read(buf[:])
    	if err != nil {
    		t.Fatal(err)
    	}
    	if string(buf[:n]) != string(payload) {
    		t.Error("unexpected payload")
    		t.Logf("expect: %d bytes (%v)", len(payload), payload)
    		t.Logf("actual: %d bytes (%v)", n, buf[:n])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. pkg/hbone/dialer_test.go

    package hbone
    
    import (
    	"net"
    	"testing"
    	"time"
    )
    
    func newTCPServer(t testing.TB, data string) string {
    	n, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("opened listener on %v", n.Addr().String())
    	go func() {
    		for {
    			c, err := n.Accept()
    			if err != nil {
    				log.Info(err)
    				return
    			}
    			log.Info("accepted connection")
    			c.Write([]byte(data))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 26 23:44:52 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. src/os/exec/exec_test.go

    	// process to exit.
    	t.Run("Wait", func(t *testing.T) {
    		t.Parallel()
    		cmd := startHang(t, context.Background(), 1*time.Millisecond, os.Kill, 0)
    		err := cmd.Wait()
    		t.Logf("stderr:\n%s", cmd.Stderr)
    		t.Logf("[%d] %v", cmd.Process.Pid, err)
    
    		if err != nil {
    			t.Errorf("Wait: %v; want <nil>", err)
    		}
    		if ps := cmd.ProcessState; !ps.Exited() {
    			t.Errorf("cmd did not exit: %v", ps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/embedded_test.go

    	}
    	wire, err := runtime.Encode(codec, internal)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	t.Logf("Wire format is:\n%s\n", string(wire))
    
    	obj := &runtimetesting.ObjectTestExternal{}
    	if err := json.Unmarshal(wire, obj); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	t.Logf("exact wire is: %s", string(obj.Items[0].Raw))
    
    	items[3] = &runtimetesting.ObjectTest{Items: innerItems}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 06 16:07:10 UTC 2020
    - 9.2K bytes
    - Viewed (0)
  6. src/net/http/h2_bundle.go

    )
    
    func (cc *http2ClientConn) logf(format string, args ...interface{}) {
    	cc.t.logf(format, args...)
    }
    
    func (cc *http2ClientConn) vlogf(format string, args ...interface{}) {
    	cc.t.vlogf(format, args...)
    }
    
    func (t *http2Transport) vlogf(format string, args ...interface{}) {
    	if http2VerboseLogs {
    		t.logf(format, args...)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/swig/swig_test.go

    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    		patch = atoi(string(matches[3][1:]))
    	}
    	if parseError != nil {
    		t.Logf("error parsing swig version %q, continuing anyway: %s", string(matches[0]), parseError)
    		return
    	}
    	t.Logf("found swig version %d.%d.%d", major, minor, patch)
    	if major < 3 || (major == 3 && minor == 0 && patch < 6) {
    		t.Skip("test requires swig 3.0.6 or later")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator_test.go

    	cmd += " --manifests=" + string(snapshotCharts)
    
    	gotYAML, err := runCommand(cmd)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if refreshGoldenFiles() {
    		t.Logf("Refreshing golden file for %s", goldenFilepath)
    		if err := os.WriteFile(goldenFilepath, []byte(gotYAML), 0o644); err != nil {
    			t.Error(err)
    		}
    	}
    
    	wantYAML, err := readFile(goldenFilepath)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/elf_test.go

    						// test failure.
    						t.Logf("test %s: %q section not in readonly segment",
    							wsro.Name, test.name)
    						t.Logf("section %s location: st=0x%x en=0x%x\n",
    							wsro.Name, wsro.Addr, wsro.Addr+wsro.FileSize)
    						t.Logf("sec %s found in these segments: ", wsro.Name)
    						for _, p := range foundSegs {
    							t.Logf(" %q", p.Type)
    						}
    						t.Logf("\nall segments: \n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. cmd/kube-apiserver/app/testing/testserver.go

    	}
    
    	if errs := completedOptions.Validate(); len(errs) != 0 {
    		return result, fmt.Errorf("failed to validate ServerRunOptions: %v", utilerrors.NewAggregate(errs))
    	}
    
    	t.Logf("runtime-config=%v", completedOptions.APIEnablement.RuntimeConfig)
    	t.Logf("Starting kube-apiserver on port %d...", s.SecureServing.BindPort)
    
    	config, err := app.NewConfig(completedOptions)
    	if err != nil {
    		return result, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top