mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-26 19:35:10 +00:00
Return all predicate failures instead of the first one
This commit is contained in:
@@ -1031,7 +1031,7 @@ func TestRejectWaitingPod(t *testing.T) {
|
||||
f.RejectWaitingPod(pod.UID)
|
||||
}()
|
||||
permitStatus := f.RunPermitPlugins(context.Background(), nil, pod, "")
|
||||
if permitStatus.message != "pod \"pod\" rejected while waiting at permit: removed" {
|
||||
if permitStatus.Message() != "pod \"pod\" rejected while waiting at permit: removed" {
|
||||
t.Fatalf("RejectWaitingPod failed, permitStatus: %v", permitStatus)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user