- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getStatus (0.14 sec)
-
pkg/controller/nodelifecycle/node_lifecycle_controller_test.go
} _, savedReadyCondition := controllerutil.GetNodeCondition(nodeController.nodeHealthMap.getDeepCopy(test.node.Name).status, v1.NodeReady) savedStatus := getStatus(savedReadyCondition) currentStatus := getStatus(currentReadyCondition) if !apiequality.Semantic.DeepEqual(currentStatus, savedStatus) { t.Errorf("expected %v, got %v", savedStatus, currentStatus) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 03:26:45 UTC 2024 - 119K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 22:42:49 UTC 2024 - 160.5K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
failed := int32(len(failedPods)) + tc.job.Status.Failed + int32(len(uncounted.failed)) if succeeded != tc.wantSucceeded { t.Errorf("getStatus reports %d succeeded pods, want %d", succeeded, tc.wantSucceeded) } if failed != tc.wantFailed { t.Errorf("getStatus reports %d succeeded pods, want %d", failed, tc.wantFailed) } }) } } func TestTrackJobStatusAndRemoveFinalizers(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
if err != nil { t.Fatalf("fail to create framework: %s", err) } _, gotStatus := f.RunPostFilterPlugins(ctx, nil, pod, nil) if !reflect.DeepEqual(gotStatus, tt.wantStatus) { t.Errorf("Unexpected status. got: %v, want: %v", gotStatus, tt.wantStatus) } }) } } func TestFilterPluginsWithNominatedPods(t *testing.T) { tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go
cycleState := framework.NewCycleState() gotStatus := p.(*PodTopologySpread).Filter(context.Background(), cycleState, pod, nodeInfo) wantStatus := framework.AsStatus(fmt.Errorf(`reading "PreFilterPodTopologySpread" from cycleState: %w`, framework.ErrNotFound)) if !reflect.DeepEqual(gotStatus, wantStatus) { t.Errorf("status does not match: %v, want: %v", gotStatus, wantStatus) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 143.1K bytes - Viewed (0)