From d06589e4b6948c390ffa625faddf287645249e3b Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Thu, 2 Apr 2020 14:43:47 +0200 Subject: [PATCH] mock tests: less verbose log output checking parseMockLogs is called potentially multiple times while waiting for output. Dumping all CSI calls each time is quite verbose and repetitive. To verify what the driver has done already, the normal capturing of the container log can be used instead: csi-mockplugin-0/mock@127.0.0.1: gRPCCall: {"Method":"/csi.v1.Node/NodePublishVolume","Request"... --- test/e2e/storage/csi_mock_volume.go | 1 - 1 file changed, 1 deletion(-) diff --git a/test/e2e/storage/csi_mock_volume.go b/test/e2e/storage/csi_mock_volume.go index db93c5802ab..f9e9498cd5d 100644 --- a/test/e2e/storage/csi_mock_volume.go +++ b/test/e2e/storage/csi_mock_volume.go @@ -944,7 +944,6 @@ func parseMockLogs(cs clientset.Interface, namespace, driverPodName, driverConta if err != nil { return nil, fmt.Errorf("could not load CSI driver logs: %s", err) } - framework.Logf("CSI driver logs:\n%s", log) logLines := strings.Split(log, "\n") var calls []mockCSICall