- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TestScaleUpdate (0.48 sec)
-
pkg/registry/apps/statefulset/storage/storage_test.go
if err != nil { t.Fatalf("error fetching scale for %s: %v", name, err) } if !apiequality.Semantic.DeepEqual(got, want) { t.Errorf("unexpected scale: %s", cmp.Diff(got, want)) } } func TestScaleUpdate(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.StatefulSet.Store.DestroyFunc() name := "foo" var sts apps.StatefulSet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 14K bytes - Viewed (0) -
pkg/registry/apps/replicaset/storage/storage_test.go
if err != nil { t.Fatalf("error fetching scale for %s: %v", name, err) } if !apiequality.Semantic.DeepEqual(got, want) { t.Errorf("unexpected scale: %s", cmp.Diff(got, want)) } } func TestScaleUpdate(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.ReplicaSet.Store.DestroyFunc() name := "foo" var rs apps.ReplicaSet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 17.7K bytes - Viewed (0) -
pkg/registry/apps/deployment/storage/storage_test.go
} got := obj.(*autoscaling.Scale) if !apiequality.Semantic.DeepEqual(want, got) { t.Errorf("unexpected scale: %s", cmp.Diff(want, got)) } } func TestScaleUpdate(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.Deployment.Store.DestroyFunc() var deployment apps.Deployment
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:45 UTC 2023 - 19.7K bytes - Viewed (0) -
pkg/registry/core/replicationcontroller/storage/storage_test.go
} got := obj.(*autoscaling.Scale) if !apiequality.Semantic.DeepEqual(want, got) { t.Errorf("unexpected scale: %s", cmp.Diff(want, got)) } } func TestScaleUpdate(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.Controller.Store.DestroyFunc() ctx := genericapirequest.WithNamespace(genericapirequest.NewContext(), namespace)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 16 06:57:01 UTC 2024 - 16.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go
} if expected := `the spec replicas field ".spec.replicas" does not exist`; !strings.Contains(err.Error(), expected) { t.Fatalf("expected error string %q, got: %v", expected, err) } } func TestScaleUpdate(t *testing.T) { storage, server := newStorage(t) defer server.Terminate(t) defer storage.CustomResource.Store.DestroyFunc() name := "foo" var cr unstructured.Unstructured
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 25.2K bytes - Viewed (0)