mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
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"...
This commit is contained in:
parent
15bb54c2d2
commit
d06589e4b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user