- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for _logf (0.16 sec)
-
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) -
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) -
pkg/kubelet/kubelet_pods_test.go
input: "1234567.1234567.1234567.1234567.1234567.1234567.1234567.123456-1234567.", // 8*9-1=71 chars output: "1234567.1234567.1234567.1234567.1234567.1234567.1234567.123456", //8*8-2=62 chars }, } { t.Logf("TestCase: %q", c) output, err := truncatePodHostnameIfNeeded("test-pod", test.input) assert.NoError(t, err) assert.Equal(t, test.output, output) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
if err != nil { t.Fatal(err) } start := time.Now() _, err = leaf.Verify(VerifyOptions{ Roots: roots, Intermediates: intermediates, }) t.Logf("verification took %v", time.Since(start)) if err == nil || !strings.Contains(err.Error(), "signature check attempts limit") { t.Errorf("expected verification to fail with a signature checks limit error; got %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
return false, fmt.Errorf("authenticator reported healthy when it should not") } if strings.HasPrefix(healthErr.Error(), c.wantHealthErrPrefix) { return true, nil } t.Logf("saw health error prefix that did not match: want=%q got=%q", c.wantHealthErrPrefix, healthErr.Error()) return false, nil }); err != nil { t.Fatalf("authenticator did not match wanted health error: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 97.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
actions := kubeClient.Actions() assert.Len(t, actions, tc.expectedActions, "test [%s]", tc.name) if tc.testSavedNode { var savedNode *v1.Node t.Logf("actions: %v: %+v", len(actions), actions) action := actions[tc.savedNodeIndex] if action.GetVerb() == "create" { createAction := action.(core.CreateAction) obj := createAction.GetObject()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
case obj.TYPE_NONE: return C_NONE case obj.TYPE_REG: return c.aclassreg(a.Reg) case obj.TYPE_MEM: if a.Index != 0 { if a.Name != obj.NAME_NONE || a.Offset != 0 { c.ctxt.Logf("Unexpected Instruction operand index %d offset %d class %d \n", a.Index, a.Offset, a.Class) } return C_XOREG } switch a.Name { case obj.NAME_GOTREF, obj.NAME_TOCREF: return C_ADDR
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
return true, nil case current > expected: return false, fmt.Errorf("queue length %d exceeded expected length %d", current, expected) default: i++ if i > 1 { t.Logf("Waiting for queue to have %d item, currently has: %d", expected, current) } return false, nil } }) if err != nil { t.Fatalf("%s: %v", msg, err) } expectStableQueueLength(expected)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
func (ctxt *Link) AddTramp(s *loader.SymbolBuilder) { s.SetType(sym.STEXT) s.SetReachable(true) s.SetOnList(true) ctxt.tramps = append(ctxt.tramps, s.Sym()) if *FlagDebugTramp > 0 && ctxt.Debugvlog > 0 { ctxt.Logf("trampoline %s inserted\n", s.Name()) } } // compressSyms compresses syms and returns the contents of the // compressed section. If the section would get larger, it returns nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
gk := schema.FromAPIVersionAndKind(target.Object.DescribedObject.APIVersion, target.Object.DescribedObject.Kind).GroupKind() mapping, err := mapper.RESTMapping(gk) if err != nil { t.Logf("unable to get mapping for %s: %v", gk.String(), err) continue } groupResource := mapping.Resource.GroupResource() if getForAction.GetResource().Resource == groupResource.String() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0)