- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for volerr (0.14 sec)
-
operator/pkg/tpath/struct_test.go
t.Fatal(err) } GotOut, GotFound, gotErr := GetFromStructPath(rnode, tt.path) if GotFound != tt.wantFound { t.Fatalf("GetFromStructPath(%s): gotFound:%v, wantFound:%v", tt.desc, GotFound, tt.wantFound) } if gotErr, wantErr := errToString(gotErr), tt.wantErr; gotErr != wantErr { t.Fatalf("GetFromStructPath(%s): gotErr:%s, wantErr:%s", tt.desc, gotErr, wantErr) } if tt.wantErr != "" || !tt.wantFound {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.7K bytes - Viewed (0) -
operator/pkg/validate/validate_values_test.go
if err != nil { t.Fatalf("yaml.Unmarshal(%s): got error %s", tt.desc, err) } errs := CheckValues(util.MustStruct(root)) if gotErr, wantErr := errs, tt.wantErrs; !util.EqualErrors(gotErr, wantErr) { t.Errorf("CheckValues(%s)(%v): gotErr:%s, wantErr:%s", tt.desc, tt.yamlStr, gotErr, wantErr) } }) } } func TestValidateValuesFromProfile(t *testing.T) { tests := []struct { profile string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 13:43:12 UTC 2024 - 6K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/oidc_test.go
} ctx = metadata.NewIncomingContext(ctx, md) actualCaller, err := authenticator.Authenticate(security.AuthContext{GrpcContext: ctx}) gotErr := err != nil if gotErr != tc.expectErr { t.Errorf("gotErr (%v) whereas expectErr (%v)", gotErr, tc.expectErr) } if gotErr { return } expectedCaller := &security.Caller{ AuthSource: security.AuthSourceIDToken, Identities: []string{tc.expectedID},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.3K bytes - Viewed (0) -
src/os/exec/lp_windows.go
return dotf, dotErr } } if !filepath.IsAbs(f) { if execerrdot.Value() != "0" { // If this is the same relative path that we already found, // dotErr is non-nil and we already checked it above. // Otherwise, record this path as the one to which we must resolve, // with or without a dotErr. if dotErr == nil { dotf, dotErr = f, &Error{file, ErrDot}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 6K bytes - Viewed (0) -
operator/pkg/util/label_test.go
gotErr := SetLabel(resource, tt.wantLabel, tt.wantValue) resourceAccessor, _ := meta.Accessor(resource) labels := resourceAccessor.GetLabels() if gotVal, ok := labels[tt.wantLabel]; !ok || gotVal != tt.wantValue || gotErr != tt.wantErr { t.Errorf("%s: ok: %v, got value: %v, want value: %v, got error: %v, want error: %v", tt.desc, ok, gotVal, tt.wantValue, gotErr, tt.wantErr) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.5K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounters_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 3.5K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
} // Create volume to use in conjunction with other StorageAPI's file API(s) err = fs.MakeVol(context.Background(), "voldir") if err != nil { t.Fatal(err) } for i, test := range testCases { t.Run(fmt.Sprint(i), func(t *testing.T) { err = fs.AppendFile(context.Background(), "voldir", test.objName, []byte("hello")) if err != nil && test.pass { t.Error(err) } else if err == nil && !test.pass {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go
t.Fatalf("expected error matching stdlib, got %v, %v", err, goerr) } else { t.Log(err) } } { var v *map[string]interface{} err := Unmarshal([]byte(`{}`), v) goerr := gojson.Unmarshal([]byte(`{}`), v) if err == nil || goerr == nil || err.Error() != goerr.Error() { t.Fatalf("expected error matching stdlib, got %v, %v", err, goerr) } else { t.Log(err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 28 08:02:09 UTC 2022 - 9.3K bytes - Viewed (0) -
pkg/controller/ttlafterfinished/ttlafterfinished_controller_test.go
_, ctx := ktesting.NewTestContext(t) logger := klog.FromContext(ctx) gotTimeLeft, gotExpireAt, gotErr := timeLeft(logger, job, tc.since) if tc.expectErr != (gotErr != nil) { t.Errorf("%s: expected error is %t, got %t, error: %v", tc.name, tc.expectErr, gotErr != nil, gotErr) } if tc.expectErr && len(tc.expectErrStr) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 18 18:46:26 UTC 2023 - 5.3K bytes - Viewed (0) -
src/database/sql/driver/types_test.go
} func TestValueConverters(t *testing.T) { for i, tt := range valueConverterTests { out, err := tt.c.ConvertValue(tt.in) goterr := "" if err != nil { goterr = err.Error() } if goterr != tt.err { t.Errorf("test %d: %T(%T(%v)) error = %q; want error = %q", i, tt.c, tt.in, tt.in, goterr, tt.err) } if tt.err != "" { continue } if !reflect.DeepEqual(out, tt.out) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:53:24 UTC 2024 - 2.5K bytes - Viewed (0)