mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 03:38:15 +00:00
Fix a bug that PostFilter plugin may not function if previous PreFilter plugins return Skip
This commit is contained in:
@@ -1509,8 +1509,8 @@ func TestRunPreFilterPlugins(t *testing.T) {
|
||||
inj: injectedResult{PreFilterStatus: int(framework.Error)},
|
||||
},
|
||||
},
|
||||
wantPreFilterResult: nil,
|
||||
wantStatusCode: framework.Error,
|
||||
wantSkippedPlugins: sets.New("skip"),
|
||||
wantStatusCode: framework.Error,
|
||||
},
|
||||
{
|
||||
name: "all PreFilter plugins returned skip",
|
||||
|
||||
Reference in New Issue
Block a user