mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-27 03:44:04 +00:00
return not-found errors properly from fake listeres
Signed-off-by: utam0k <k0ma@utam0k.jp>
This commit is contained in:
@@ -494,9 +494,9 @@ func TestWithBinding(t *testing.T) {
|
||||
Pod: createPodWithVolume("pod_1", "vol_1", "PVC_NoSC"),
|
||||
Node: testNode,
|
||||
wantPreFilterStatus: framework.NewStatus(framework.UnschedulableAndUnresolvable,
|
||||
"unable to find storage class: Class_0"),
|
||||
`storageclasses.storage.k8s.io "Class_0" not found`),
|
||||
wantFilterStatus: framework.NewStatus(framework.UnschedulableAndUnresolvable,
|
||||
"unable to find storage class: Class_0"),
|
||||
`storageclasses.storage.k8s.io "Class_0" not found`),
|
||||
},
|
||||
{
|
||||
name: "unbound volume immediate binding mode",
|
||||
|
||||
Reference in New Issue
Block a user