Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 54 of 54 for hasError (0.18 sec)

  1. pkg/scheduler/schedule_one_test.go

    			}
    			sched.FailureHandler = func(_ context.Context, fwk framework.Framework, p *framework.QueuedPodInfo, status *framework.Status, _ *framework.NominatingInfo, _ time.Time) {
    				gotPod = p.Pod
    				gotError = status.AsError()
    
    				msg := truncateMessage(gotError.Error())
    				fwk.EventRecorder().Eventf(p.Pod, nil, v1.EventTypeWarning, "FailedScheduling", "Scheduling", msg)
    			}
    			called := make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			}
    
    			res, status := pe.Preempt(ctx, test.pod, nodeToStatusMap)
    			if !status.IsSuccess() && !status.IsRejected() {
    				t.Errorf("unexpected error in preemption: %v", status.AsError())
    			}
    			if diff := cmp.Diff(test.want, res); diff != "" {
    				t.Errorf("Unexpected status (-want, +got):\n%s", diff)
    			}
    			if len(deletedPodNames) != len(test.expectedPods) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

        }
    
        protected boolean hasModelErrors(ModelProblemCollectorExt problems) {
            if (problems instanceof DefaultModelProblemCollector) {
                return ((DefaultModelProblemCollector) problems).hasErrors();
            } else {
                // the default execution path only knows the DefaultModelProblemCollector,
                // only reason it's not in signature is because it's package private
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/queue/scheduling_queue.go

    		if s.IsSuccess() {
    			continue
    		}
    		pInfo.UnschedulablePlugins.Insert(pl.Name())
    		metrics.UnschedulableReason(pl.Name(), pod.Spec.SchedulerName).Inc()
    		if s.Code() == framework.Error {
    			logger.Error(s.AsError(), "Unexpected error running PreEnqueue plugin", "pod", klog.KObj(pod), "plugin", pl.Name())
    		} else {
    			logger.V(4).Info("Status after running PreEnqueue plugin", "pod", klog.KObj(pod), "plugin", pl.Name(), "status", s)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top