volume binder: enable klog flags in test
When debugging the test runs it is useful to increase the log level: go test -v ./pkg/controller/volume/scheduling -args -v 5
This commit is contained in:
@@ -113,6 +113,10 @@ var (
|
||||
zone1Labels = map[string]string{v1.LabelZoneFailureDomain: "us-east-1", v1.LabelZoneRegion: "us-east-1a"}
|
||||
)
|
||||
|
||||
func init() {
|
||||
klog.InitFlags(nil)
|
||||
}
|
||||
|
||||
type testEnv struct {
|
||||
client clientset.Interface
|
||||
reactor *pvtesting.VolumeReactor
|
||||
|
Reference in New Issue
Block a user