Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for _logf (0.04 sec)

  1. pkg/controller/replicaset/replica_set_test.go

    	pod2 := pod1
    	pod2.Labels = labelMap2
    	pod2.ResourceVersion = "2"
    	manager.updatePod(logger, &pod1, &pod2)
    	expected := sets.NewString(testRSSpec1.Name)
    	for _, name := range expected.List() {
    		t.Logf("Expecting update for %+v", name)
    		select {
    		case got := <-received:
    			if !expected.Has(got) {
    				t.Errorf("Expected keys %#v got %v", expected, got)
    			}
    		case <-time.After(wait.ForeverTestTimeout):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server_test.go

    		recordingConn, childProcess, err = test.connFromCommand()
    		if err != nil {
    			t.Fatalf("Failed to start subcommand: %s", err)
    		}
    		serverConn = recordingConn
    		defer func() {
    			if t.Failed() {
    				t.Logf("OpenSSL output:\n\n%s", childProcess.Stdout)
    			}
    		}()
    	} else {
    		clientConn, serverConn = localPipe(t)
    	}
    	config := test.config
    	if config == nil {
    		config = testConfig
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. src/crypto/tls/tls_test.go

    			// Dial: we triggered the timeout at the point where we wanted it!
    			t.Logf("Listener accepted a connection from %s", lconn.RemoteAddr())
    			lconn.Close()
    		}
    		// Close any spurious extra connections from the listener. (This is
    		// possible if there are, for example, stray Dial calls from other tests.)
    		for extraConn := range acceptc {
    			t.Logf("spurious extra connection from %s", extraConn.RemoteAddr())
    			extraConn.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller_test.go

    			}
    
    			time.Sleep(tc.finalDelay)
    			assert.Len(t, client.Actions(), tc.wantRequestCount)
    			// In case of error, make debugging easier.
    			for _, action := range client.Actions() {
    				t.Logf("action: %v %v", action.GetVerb(), action.GetResource())
    			}
    		})
    	}
    }
    
    // TestPodUpdatesBatching verifies that endpoint updates caused by pod updates are batched together.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	actualEvents := make([]watch.Event, len(events))
    	for idx := range events {
    		select {
    		case event := <-w.ResultChan():
    			actualEvents[idx] = event
    		case <-time.After(wait.ForeverTestTimeout):
    			t.Logf("(called from line %d)", line)
    			t.Errorf("Timed out waiting for an event")
    		}
    	}
    	validateEvents := func(expected, actual watch.Event) (bool, []string) {
    		errors := []string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  6. pkg/controller/disruption/disruption_test.go

    	// evictions into account, or re-queue the PDB for another sync (by returning
    	// an error)
    	if err := dc.sync(ctx, pdbKey); err != nil {
    		t.Logf("sync() returned with error: %v", err)
    	} else {
    		t.Logf("sync() returned with no error")
    	}
    
    	// (C) Whether or not sync() returned an error, the PDB status should reflect
    	// the evictions that took place.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/xcoff.go

    			if ldr.AttrReachable(s) {
    				putaixsym(ctxt, s, UndefinedSym)
    			}
    		}
    	}
    
    	for _, s := range ctxt.Textp {
    		putaixsym(ctxt, s, TextSym)
    	}
    
    	if ctxt.Debugvlog != 0 {
    		ctxt.Logf("symsize = %d\n", uint32(symSize))
    	}
    	xfile.updatePreviousFile(ctxt, true)
    }
    
    func (f *xcoffFile) genDynSym(ctxt *Link) {
    	ldr := ctxt.loader
    	var dynsyms []loader.Sym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		fuzzer.Fuzz(q)
    		b, err := json.Marshal(q)
    		if err != nil {
    			t.Errorf("error encoding %v: %v", q, err)
    			continue
    		}
    		q2 := &Quantity{}
    		err = json.Unmarshal(b, q2)
    		if err != nil {
    			t.Logf("%d: %s", i, string(b))
    			t.Errorf("%v: error decoding %v: %v", q, string(b), err)
    		}
    		if q2.Cmp(*q) != 0 {
    			t.Errorf("Expected equal: %v, %v (json was '%v')", q, q2, string(b))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager_test.go

    		normalCont1Devices,
    		normalCont2Devices,
    	}
    
    	for i := 0; i < len(dedicatedContainerDevices)-1; i++ {
    		for j := i + 1; j < len(dedicatedContainerDevices); j++ {
    			t.Logf("containerDevices[%d] = %v", i, dedicatedContainerDevices[i])
    			t.Logf("containerDevices[%d] = %v", j, dedicatedContainerDevices[j])
    			as.Empty(dedicatedContainerDevices[i].Intersection(dedicatedContainerDevices[j]))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

    			if err != nil {
    				if !testCase.wantErr {
    					t.Fatal(err)
    				}
    				t.Logf("got expected error: %v", err)
    				return
    			}
    
    			if err = s3Select.Open(newBytesRSC(testCase.input)); err != nil {
    				if !testCase.wantErr {
    					t.Fatal(err)
    				}
    				t.Logf("got expected error: %v", err)
    				return
    			} else if testCase.wantErr {
    				t.Error("did not get expected error")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
Back to top