- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for volerr (0.21 sec)
-
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) -
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) -
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) -
internal/amztime/parse_test.go
}, } for _, testCase := range testCases { testCase := testCase t.Run(testCase.timeStr, func(t *testing.T) { gott, goterr := Parse(testCase.timeStr) if !errors.Is(goterr, testCase.expectedErr) { t.Errorf("expected %v, got %v", testCase.expectedErr, goterr) } if !gott.Equal(testCase.expectedTime) { t.Errorf("expected %v, got %v", testCase.expectedTime, gott) } }) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Sep 07 14:24:54 UTC 2022 - 1.6K bytes - Viewed (0) -
src/net/http/transfer_test.go
} for i, tt := range tests { tr := &transferReader{ Header: tt.hdr, ProtoMajor: 1, ProtoMinor: 1, } gotErr := tr.parseTransferEncoding() if !reflect.DeepEqual(gotErr, tt.wantErr) { t.Errorf("%d.\ngot error:\n%v\nwant error:\n%v\n\n", i, gotErr, tt.wantErr) } } } // issue 39017 - disallow Content-Length values such as "+3" func TestParseContentLength(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:16:28 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats_test.go
// Wait until we get a non-zero node metrics. if pollErr := wait.Poll(100*time.Millisecond, 5*perfCounterUpdatePeriod, func() (bool, error) { metrics, _ := counterClient.(*StatsClient).client.getNodeMetrics() if metrics.memoryPrivWorkingSetBytes != 0 { return true, nil } return false, nil }); pollErr != nil { t.Fatalf("Encountered error: `%v'", pollErr) } } func TestGetMachineInfo(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 5.7K bytes - Viewed (0)