mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
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:
parent
5c8929d95e
commit
a3c434510d
@ -113,6 +113,10 @@ var (
|
|||||||
zone1Labels = map[string]string{v1.LabelZoneFailureDomain: "us-east-1", v1.LabelZoneRegion: "us-east-1a"}
|
zone1Labels = map[string]string{v1.LabelZoneFailureDomain: "us-east-1", v1.LabelZoneRegion: "us-east-1a"}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
klog.InitFlags(nil)
|
||||||
|
}
|
||||||
|
|
||||||
type testEnv struct {
|
type testEnv struct {
|
||||||
client clientset.Interface
|
client clientset.Interface
|
||||||
reactor *pvtesting.VolumeReactor
|
reactor *pvtesting.VolumeReactor
|
||||||
|
Loading…
Reference in New Issue
Block a user