pv controller test: enable klog output

This makes it possible to run tests with -v=5 and thus actually get
some output.
This commit is contained in:
Patrick Ohly
2020-10-28 10:37:27 +01:00
parent 5686664a1d
commit 06f934ea1f

View File

@@ -47,6 +47,10 @@ import (
"k8s.io/kubernetes/pkg/volume/util/recyclerclient" "k8s.io/kubernetes/pkg/volume/util/recyclerclient"
) )
func init() {
klog.InitFlags(nil)
}
// This is a unit test framework for persistent volume controller. // This is a unit test framework for persistent volume controller.
// It fills the controller with test claims/volumes and can simulate these // It fills the controller with test claims/volumes and can simulate these
// scenarios: // scenarios: