- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestUpdateNode (0.11 sec)
-
pkg/controller/tainteviction/taint_eviction_test.go
_, ok := controller.taintedNodes["node1"] return !ok, nil }) if err != nil { t.Errorf("Failed to await for processing node deleted: %q", err) } cancel() } func TestUpdateNode(t *testing.T) { testCases := []struct { description string pods []corev1.Pod oldNode *corev1.Node newNode *corev1.Node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
if esController.serviceQueue.Len() != tc.expectedQueueLen { t.Errorf("Expected %d services to be queued, got %d", tc.expectedQueueLen, esController.serviceQueue.Len()) } }) } } func TestUpdateNode(t *testing.T) { nodeReadyStatus := v1.NodeStatus{ Allocatable: map[v1.ResourceName]resource.Quantity{ v1.ResourceCPU: resource.MustParse("100m"), }, Conditions: []v1.NodeCondition{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
} } } } // DaemonSets should be resynced when node labels or taints changed func TestUpdateNode(t *testing.T) { var enqueued bool cases := []struct { test string newNode *v1.Node oldNode *v1.Node ds *apps.DaemonSet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0)