- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 247 for logf (0.04 sec)
-
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) -
pkg/kubelet/network/dns/dns_test.go
dnsConfig, err := configurer.GetPodDNS(pod) if err != nil { t.Fatalf("failed to generate container options: %v", err) } options[i].DNS, options[i].DNSSearch = dnsConfig.Servers, dnsConfig.Searches } t.Logf("nameservers %+v", options[1].DNS) if len(options[0].DNS) != 1 { t.Errorf("expected cluster nameserver only, got %+v", options[0].DNS) } else if options[0].DNS[0] != clusterNS {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
cmd/object-api-utils_test.go
t.Errorf("no index returned") } var index s2.Index _, err = index.Load(s2.RestoreIndexHeaders(idx)) if err != nil { t.Errorf("error loading index: %v", err) } t.Log("size:", len(idx)) t.Log(string(index.JSON())) if index.TotalUncompressed != int64(len(tt.data)) { t.Errorf("Expected size %d, got %d", len(tt.data), index.TotalUncompressed) } } var stdBuf bytes.Buffer
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.4K bytes - Viewed (0) -
src/go/printer/printer_test.go
l1 := fset.Position(i1.Pos()).Line l2 := fset.Position(i2.Pos()).Line if l2 != l1 { t.Errorf("got line %d; want %d for %s", l2, l1, i1.Name) } } if t.Failed() { t.Logf("\n%s", buf.Bytes()) } } // Verify that the SourcePos mode doesn't emit unnecessary //line directives // before empty lines. func TestIssue5945(t *testing.T) { const orig = ` package p // line 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 20.4K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache_test.go
for _, c := range cases { t.Run(c.name, func(t *testing.T) { err = sc.tryAddFileWatcher(c.filePath, dummyResourceName) if err != c.expErr { t.Fatalf("expected: %v, got: %v", c.expErr, err) } t.Logf("file watch: %v\n", sc.certWatcher.WatchList()) if c.expErr == nil && len(sc.certWatcher.WatchList()) != 1 { t.Fatalf("expected certWatcher to watch 1 file, but it is watching: %d files", len(sc.certWatcher.WatchList()))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/compute_test.go
t.Error("unexpected success") } else if !rt.errExpected && actualErr != nil { t.Errorf("unexpected failure: %v", actualErr) } if diff := cmp.Diff(rt.expectedUpgrades, actualUpgrades); len(diff) > 0 { t.Logf("diff: %s", cmp.Diff(rt.expectedUpgrades, actualUpgrades)) t.Errorf("failed TestGetAvailableUpgrades\n\texpected upgrades:\n%v\n\tgot:\n%v\n\tdiff:\n%v", rt.expectedUpgrades, actualUpgrades, diff) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 08:39:51 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/link/link_test.go
t.Log(cmd) out, err := cmd.CombinedOutput() if err != nil { t.Fatalf("compiling a.go failed: %v\n%s", err, out) } cmd = testenv.Command(t, testenv.GoToolPath(t), "tool", "compile", "-importcfg="+importcfgWithAFile, "-p=main", "-I", tmpdir, "-o", mObj, mSrc) t.Log(cmd) out, err = cmd.CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
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) -
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) -
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)