Skip to content

Commit a71341e

Browse files
committed
testing: set logger verbosity to 999999
Signed-off-by: James Munnelly <[email protected]>
1 parent 4c00ad3 commit a71341e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/driver/driver_testing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
fakeclient "github.com/cert-manager/cert-manager/pkg/client/clientset/versioned/fake"
2828
"github.com/container-storage-interface/spec/lib/go/csi"
2929
"github.com/go-logr/logr"
30-
logrtesting "github.com/go-logr/logr/testing"
30+
"github.com/go-logr/logr/testr"
3131
"google.golang.org/grpc"
3232
"k8s.io/apimachinery/pkg/util/wait"
3333
"k8s.io/mount-utils"
@@ -59,7 +59,7 @@ type Options struct {
5959

6060
func Run(t *testing.T, opts Options) (Options, csi.NodeClient, func()) {
6161
if opts.Log == nil {
62-
logger := logrtesting.NewTestLogger(t)
62+
logger := testr.NewWithOptions(t, testr.Options{Verbosity: 999999})
6363
opts.Log = &logger
6464
}
6565
if opts.Clock == nil {

0 commit comments

Comments
 (0)