Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NormalizeScore (0.23 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    	if !state.ShouldRecordPluginMetrics() {
    		return pl.ScoreExtensions().NormalizeScore(ctx, state, pod, nodeScoreList)
    	}
    	startTime := time.Now()
    	status := pl.ScoreExtensions().NormalizeScore(ctx, state, pod, nodeScoreList)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    				if !status.IsSuccess() {
    					t.Errorf("unexpected error: %v", status)
    				}
    				gotList = append(gotList, framework.NodeScore{Name: nodeName, Score: score})
    			}
    
    			status = p.NormalizeScore(ctx, state, tt.pod, gotList)
    			if !status.IsSuccess() {
    				t.Errorf("unexpected error: %v", status)
    			}
    			if diff := cmp.Diff(tt.want, gotList, cmpOpts...); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
Back to top