Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for logf (1.37 sec)

  1. 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)
  2. src/net/http/serve_test.go

    			if err != nil {
    				t.Logf("unexpected error: %v", err)
    			}
    			defer rwc.Close()
    		}
    		panic(panicValue)
    	})
    	if wrapper != nil {
    		handler = wrapper(handler)
    	}
    	cst := newClientServerTest(t, mode, handler, func(ts *httptest.Server) {
    		ts.Config.ErrorLog = log.New(pw, "", 0)
    	})
    
    	// Do a blocking read on the log output pipe.
    	done := make(chan bool, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. pkg/api/pod/util_test.go

    		t.Logf("Missing expected secret paths:\n%s", strings.Join(sets.List[string](missingPaths), "\n"))
    		t.Error("Missing expected secret paths. Verify VisitPodSecretNames() is correctly finding the missing paths, then correct expectedSecretPaths")
    	}
    	if extraPaths := secretPaths.Difference(expectedSecretPaths); len(extraPaths) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	opens := driver.openCount - opens0
    	if opens > 1 {
    		t.Errorf("opens = %d; want <= 1", opens)
    		t.Logf("db = %#v", db)
    		t.Logf("driver = %#v", driver)
    		t.Logf("stmt = %#v", stmt)
    	}
    }
    
    // Issue 3857
    // This used to deadlock.
    func TestSimultaneousQueries(t *testing.T) {
    	db := newTestDB(t, "people")
    	defer closeDB(t, db)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. src/net/http/server.go

    }
    
    func (s *Server) logf(format string, args ...any) {
    	if s.ErrorLog != nil {
    		s.ErrorLog.Printf(format, args...)
    	} else {
    		log.Printf(format, args...)
    	}
    }
    
    // logf prints to the ErrorLog of the *Server associated with request r
    // via ServerContextKey. If there's no associated server, or if ErrorLog
    // is nil, logging is done via the log package's standard logger.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    					if !ok {
    						t.Logf("expected kubernetes.io/os label to be present")
    						return false, nil
    					}
    					if val != goruntime.GOOS {
    						t.Logf("expected kubernetes.io/os to match runtime.GOOS but got %v", val)
    						return false, nil
    					}
    					val, ok = savedNode.Labels[v1.LabelArchStable]
    					if !ok {
    						t.Logf("expected kubernetes.io/arch label to be present")
    						return false, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier_test.go

    			makeServiceMap(fp, test.services...)
    			populateEndpointSlices(fp, test.endpoints...)
    
    			fp.syncProxyRules()
    
    			if !reflect.DeepEqual(ipvs, test.expectedIPVS) {
    				t.Logf("actual ipvs state: %+v", ipvs)
    				t.Logf("expected ipvs state: %+v", test.expectedIPVS)
    				t.Errorf("unexpected IPVS state")
    			}
    
    			if test.expectedIPSets != nil {
    				checkIPSet(t, fp, test.expectedIPSets)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  8. pkg/controller/garbagecollector/garbagecollector_test.go

    						actualEvents = append(actualEvents, event)
    					default:
    						break loop
    					}
    				}
    				if !reflect.DeepEqual(actualEvents, s.events) {
    					ctx.t.Logf("expected:\n%s", strings.Join(s.events, "\n"))
    					ctx.t.Logf("actual:\n%s", strings.Join(actualEvents, "\n"))
    					ctx.t.Fatalf("did not get expected events")
    				}
    			}
    
    			{
    				var actualClientActions []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. pkg/apis/apps/validation/validation_test.go

    				t.Errorf("%q expected %d errors, but got %d error: %v", testName, errorCase.expectedErrNum, len(errs), errs)
    			} else {
    				t.Logf("(PASS) %q got errors %v", testName, errs)
    			}
    		})
    	}
    }
    
    func TestValidateDaemonSet(t *testing.T) {
    	validSelector := map[string]string{"a": "b"}
    	validPodTemplate := api.PodTemplate{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	registry.AfterDelete = func(obj runtime.Object, options *metav1.DeleteOptions) {
    		afterWasCalled = true
    	}
    
    	gcStates := []bool{true, false}
    	for _, gcEnabled := range gcStates {
    		t.Logf("garbage collection enabled: %t", gcEnabled)
    		registry.EnableGarbageCollection = gcEnabled
    
    		afterWasCalled = false // reset
    
    		// create pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top