- Sort Score
- Result 10 results
- Languages All
Results 31 - 38 of 38 for actualCert (0.25 sec)
-
cmd/admin-handlers_test.go
expectedAPIErr: toAPIErrorCode(GlobalContext, errDiskNotFound), }, } for i, test := range testCases { actualErr := toAdminAPIErrCode(GlobalContext, test.err) if actualErr != test.expectedAPIErr { t.Errorf("Test %d: Expected %v but received %v", i+1, test.expectedAPIErr, actualErr) } } } func TestExtractHealInitParams(t *testing.T) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 13.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/compute_test.go
actualUpgrades, actualErr := GetAvailableUpgrades(rt.vg, rt.allowExperimental, rt.allowRCs, client, &output.TextPrinter{}) if diff := cmp.Diff(rt.expectedUpgrades, actualUpgrades); len(diff) > 0 { t.Errorf("failed TestGetAvailableUpgrades\n\texpected upgrades:\n%v\n\tgot:\n%v\n\tdiff:\n%v", rt.expectedUpgrades, actualUpgrades, diff) } if rt.errExpected && actualErr == nil { t.Error("unexpected success")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 08:39:51 UTC 2024 - 34.1K bytes - Viewed (0) -
cmd/erasure-object_test.go
} _, actualErr := xl.DeleteObject(ctx, test.bucket, test.object, ObjectOptions{}) if test.expectedErr != nil && actualErr != test.expectedErr { t.Errorf("Expected to fail with %s, but failed with %s", test.expectedErr, actualErr) } if test.expectedErr == nil && actualErr != nil { t.Errorf("Expected to pass, but failed with %s", actualErr) } }) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 36.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
} } actualErr := StaticPodControlPlane( nil, waiter, pathMgr, newcfg, true, true, fakeTLSEtcdClient{ TLS: false, }, fakePodManifestEtcdClient{ ManifestDir: pathMgr.RealManifestDir(), CertificatesDir: newcfg.CertificatesDir, }, ) if (actualErr != nil) != rt.expectedErr { t.Errorf(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go
} claims := tc.claims if claims == nil { claims = claimList{} } actualResources, actualErr := newResourceModel(tCtx.Logger(), slices, claims, &inFlightAllocations) if actualErr != nil { if !tc.wantErr { tCtx.Fatalf("unexpected error: %v", actualErr) } return } if tc.wantErr { tCtx.Fatalf("did not get expected error") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 09:27:01 UTC 2024 - 34.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go
expectedErr := fmt.Errorf("deadline error") tc = &tunnelingWebsocketUpgraderConn{conn: &mockConn{deadlineErr: expectedErr}} expected = time.Now() actualErr := tc.SetDeadline(expected) assert.Equal(t, expectedErr, actualErr, "SetDeadline() expected error returned") // Connection nil, returns nil error. tc.conn = nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 02:21:50 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
Error: test.err, } actual, actualErr := GetDeletableResources(logger, client) if !reflect.DeepEqual(test.deletableResources, actual) { t.Errorf("expected resources:\n%v\ngot:\n%v", test.deletableResources, actual) } if !reflect.DeepEqual(test.err, actualErr) { t.Errorf("expected error:\n%v\ngot:\n%v", test.err, actualErr) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
if len(errs) == 0 { t.Errorf("unexpected valid: %s\nA: %+v\nB: %+v", test.test, test.new, test.old) } else if actualErr := errs.ToAggregate().Error(); !strings.Contains(actualErr, test.err) { t.Errorf("unexpected error message: %s\nExpected error: %s\nActual error: %s", test.test, test.err, actualErr) } } } } func TestValidatePodStatusUpdate(t *testing.T) { tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0)