Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 189 for _logf (0.08 sec)

  1. src/testing/testing_test.go

    		}
    
    		got, ok := parseRunningTests(out)
    		if slices.Equal(got, want) {
    			break
    		}
    		if ok {
    			t.Logf("found running tests:\n%s\nwant:\n%s", strings.Join(got, "\n"), strings.Join(want, "\n"))
    		} else {
    			t.Logf("no running tests found")
    		}
    		t.Logf("retrying with longer timeout")
    		timeout *= 2
    	}
    }
    
    func TestRunningTestsInCleanup(t *testing.T) {
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/lookup_test.go

    		// (See https://go.dev/issue/22724.) Explicitly check for
    		// cancellation now, just in case fn itself doesn't notice it.
    		if err := ctx.Err(); err != nil {
    			t.Logf("testHookLookupIP canceled")
    			return nil, err
    		}
    		t.Logf("testHookLookupIP performing lookup")
    		return fn(ctx, network, host)
    	}
    
    	_, err := DefaultResolver.LookupIPAddr(lookupCtx, "google.com")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    					// (most likely due to unexported object)
    					// TODO(adonovan): audit for other possibilities.
    					logf("no object for path: %v; discarding %s", err, f.Fact)
    					continue
    				}
    				key.obj = obj
    				logf("read %T fact %s for %v", f.Fact, f.Fact, key.obj)
    			} else {
    				// package fact
    				logf("read %T fact %s for %v", f.Fact, f.Fact, factPkg)
    			}
    			m[key] = f.Fact
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/net/http/transport_test.go

    		GetConn:      func(hostPort string) { t.Logf("GetConn(%q)", hostPort) },
    		GotConn:      func(ci httptrace.GotConnInfo) { t.Logf("GotConn(%+v)", ci) },
    		PutIdleConn:  func(err error) { t.Logf("PutIdleConn(%v)", err) },
    		ConnectStart: func(network, addr string) { t.Logf("ConnectStart(%q, %q)", network, addr) },
    		ConnectDone:  func(network, addr string, err error) { t.Logf("ConnectDone(%q, %q, %v)", network, addr, err) },
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top